Replace the page layout: the groups, their order, and which components sit in each.
const url = 'https://api.siteqwality.com/status_page/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/layout';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"ungrouped":[{"id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","description":"example","hidden":true,"show_uptime":true}],"groups":[{"id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","name":"example","description":"example","components":[{"id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","description":"example","hidden":true,"show_uptime":true}]}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.siteqwality.com/status_page/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/layout \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ungrouped": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "description": "example", "hidden": true, "show_uptime": true } ], "groups": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "description": "example", "components": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "description": "example", "hidden": true, "show_uptime": true } ] } ] }'The whole layout is saved at once. Groups left out are removed. A component left out goes to the end of the ungrouped list and keeps its description, hidden and uptime settings.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Status page identifier
Request Body required
Section titled “Request Body required ”object
object
A component already on this page (its id from the layout). monitor_id is accepted too.
Up to 200 characters, one line.
object
An existing group to keep and rename or reorder. Leave out to create one.
Up to 100 characters.
Up to 500 characters.
object
A component already on this page (its id from the layout). monitor_id is accepted too.
Up to 200 characters, one line.
Example generated
{ "ungrouped": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "description": "example", "hidden": true, "show_uptime": true } ], "groups": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "description": "example", "components": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "description": "example", "hidden": true, "show_uptime": true } ] } ]}Responses
Section titled “ Responses ”The saved layout
object
Shown first, above the groups.
A component on the page, as the page shows it.
object
What the layout and the component routes call it: the HTTP job, browser check or cron job id, or the manual component’s own id.
The same value as id, kept for clients that predate manual components.
One line shown under the name, or null.
A hidden component stays on the page’s list but is left off the public page.
False shows the status only, with no uptime bars or percentage. Heartbeats and manual components never show uptime.
The override in force, or null. One past its expiry reads as null.
object
What the owner says a component is doing: a manual component’s status, or an override on any
component. Stored as text (status_page_components.manual_status, *.override_status).
When it lapses on its own, or null to keep it until cleared.
In the order the page shows them.
object
In the order the page shows them.
A component on the page, as the page shows it.
object
What the layout and the component routes call it: the HTTP job, browser check or cron job id, or the manual component’s own id.
The same value as id, kept for clients that predate manual components.
One line shown under the name, or null.
A hidden component stays on the page’s list but is left off the public page.
False shows the status only, with no uptime bars or percentage. Heartbeats and manual components never show uptime.
The override in force, or null. One past its expiry reads as null.
object
What the owner says a component is doing: a manual component’s status, or an override on any
component. Stored as text (status_page_components.manual_status, *.override_status).
When it lapses on its own, or null to keep it until cleared.
Example
{ "ungrouped": [ { "kind": "http_job", "status": "operational", "status_override": { "status": "operational" } } ], "groups": [ { "components": [ { "kind": "http_job", "status": "operational", "status_override": { "status": "operational" } } ] } ]}A component or group is not on this page, appears twice, or a text is too long
Missing or invalid authentication
Status page not found
Internal server error