Die REST-API ist ab Enterprise verfügbar und liefert Read-Only-Zugriff auf eine ausgewählte Location und ihre Events. Aktuell sind sechs Endpoints verfügbar (alle unter https://thueringer-partys.de/api/v1):
GET /api/v1/locations/{id}— Location-Detail.GET /api/v1/locations/{id}/events— Liste der Events der Location (Filter: status, datum).GET /api/v1/locations/{id}/events/{eid}— Event-Detail.GET /api/v1/locations/{id}/stats— Aggregierte Location-Statistiken.GET /api/v1/locations/{id}/events/{eid}/stats— Event-Statistiken.GET /api/v1/locations/{id}/followers— Liste der Follower (anonymisiert).
Schreib-Operationen (Anlegen/Ändern/Löschen) sind aktuell nicht über die API möglich — nutze dafür das Dashboard.
Authentifizierung: Per Authorization: Bearer <api-key>-Header oder via Query-Parameter ?api_key=…. Rate-Limit: 1000 Requests pro Stunde pro API-Key. JSON-Response.
Vollständige API-Dokumentation auf /docs/api.