Projekte

GET https://uptime.odenwald-it-service.de/api/projects/
curl --request GET \
--url 'https://uptime.odenwald-it-service.de/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
Parameter Details Beschreibung
page Optional Ganzzahl Seitennummer für Ergebnisse. Standard: 1.
results_per_page Optional Ganzzahl Ergebnisse pro Seite. Erlaubte Werte: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Standard: 25.
{ "data": [ { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-12-06 06:32:48" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://uptime.odenwald-it-service.de/api/projects?&page=1", "last": "https://uptime.odenwald-it-service.de/api/projects?&page=1", "next": null, "prev": null, "self": "https://uptime.odenwald-it-service.de/api/projects?&page=1" } }
GET https://uptime.odenwald-it-service.de/api/projects/{project_id}
curl --request GET \
--url 'https://uptime.odenwald-it-service.de/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-12-06 06:32:48" } }
POST https://uptime.odenwald-it-service.de/api/projects
Parameter Details Beschreibung
name Erforderlich Text -
color Optional Text -
curl --request POST \
--url 'https://uptime.odenwald-it-service.de/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
{ "data": { "id": 1 } }
POST https://uptime.odenwald-it-service.de/api/projects/{project_id}
Parameter Details Beschreibung
name Optional Text -
color Optional Text -
curl --request POST \
--url 'https://uptime.odenwald-it-service.de/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#000000' \
{ "data": { "id": 1 } }
DELETE https://uptime.odenwald-it-service.de/api/projects/{project_id}
curl --request DELETE \
--url 'https://uptime.odenwald-it-service.de/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \