List a page's components
GET/api/v1/pages/{pageID}/components
The page's components in display order. A monitor-linked component's
current_status is its monitor's live state (the stored one if Uptime is slow
to answer), exactly as the public page shows it; shown_status and
shown_because say when a live incident or maintenance shows it differently.
Permission (API-key scope): status:component:read.
Authorization
bearerAuth(status:component:read)apiKeyHeader(status:component:read)
Parameters
Path parameters
pageIDstring (uuid) requiredThe status page's id (a UUID).
Responses
200
The components.
dataarray of Component requiredShow Component properties
idstring (uuid) requiredorg_idstring requiredpage_idstring (uuid) requirednamestring requireddescriptionstringsourcestring requiredmonitor_idstringThe Uptime monitor it mirrors (sourceuptime_monitor).current_statusComponentStatus requiredpositioninteger requiredgroupstringThe group (product) it appears under; absent when ungrouped.shown_statusComponentStatusIn the page's component list only, and only when a live incident or maintenance shows it differently fromcurrent_statuson the public page.shown_becausestringThe live incident's or maintenance's title that makes visitors seeshown_status.created_atstring (date-time) requiredupdated_atstring (date-time) requiredversionintegerGoes up by one on every edit (not on status changes or reorders).
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.request_idstringThis request's id, also inX-Request-ID.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
404
No such item, or one the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
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.request_idstringThis request's id, also inX-Request-ID.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
Example request
curl -X GET 'https://evohub.io/api/v1/pages/3f6c2a1e-8b4d-4f7a-9c21-5d0e7a9b1c42/components' \
-H 'Authorization: Bearer <TOKEN>'
