On-Call API › Maintenance windows
List a window's updates
GET/api/v1/maintenance-windows/{id}/updates
The progress notes posted on the window, oldest first. An unknown window id answers 404.
Permission (API-key scope): oncall:maintenance:read.
Authorization
bearerAuth(oncall:maintenance:read)apiKeyHeader(oncall:maintenance:read)
Parameters
Path parameters
idstring requiredThe maintenance window's id.
Responses
200
The updates.
dataarray of MaintenanceUpdate requiredShow MaintenanceUpdate properties
idstringwindow_idstringauthor_idstringbodystringcreated_atstring (date-time)
successboolean required
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
404
No maintenance window with this id in your organization (NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
Example request
curl -X GET 'https://evohub.io/api/v1/maintenance-windows/c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f/updates' \
-H 'Authorization: Bearer <TOKEN>'