List maintenance windows
Returns all maintenance windows, ordered by start time (newest first).
GET
https://api.uptimetea.com/maintenance_windowsHeaders
AuthorizationREQUIRED
STRING
Bearer $TOKENResponse body
[
{
"id": "uuid",
"title": "Server Upgrade",
"description": "Upgrading database servers",
"start_time": "2024-01-20T02:00:00Z",
"end_time": "2024-01-20T04:00:00Z",
"recurrence_rule": null,
"active": false,
"created_at": "2024-01-15T10:00:00Z",
"watchers": [
{
"id": "uuid",
"title": "My Website",
"url": "https://example.com",
"status": "up"
}
]
}
]Code Examples
curl -X GET "https://api.uptimetea.com/maintenance_windows" \
-H "Authorization: Bearer $TOKEN"