Verfügbare Endpoints
Test API
Endpoint: /api/test
Methode: GET
Beschreibung: Test API Endpoint um zu prüfen, ob die API funktioniert.
Beispielsanfrage:
curl -X GET https://gibtsisbundesheer.theherwig.com/api/test -H "Authorization: Bearer YOUR_API_KEY"
Hole alle Umfragenergebnisse
Endpoint: /api/surveyResults
Methode: GET
Beschreibung: API Endpoint um die Ergebnisse der Umfragen abzurufen.
Beispielsanfrage:
curl -X GET https://gibtsisbundesheer.theherwig.com/api/surveyResults -H "Authorization: Bearer YOUR_API_KEY"