API · v1.4.0
Status pages
6 endpoints. Paths are relative to /api/v1 on your own instance; authentication is described on the overview page.
GET /workspaces/{workspace}/status-pages
Lists the status pages of the workspace without their layout
Parameters
| Name | In | Type | Description |
|---|---|---|---|
workspacerequired | path | string | The workspace slug |
cursor | query | string | Opaque cursor taken from |
limit | query | integer | Page size. |
Responses
200404Not found403Authorization error401Unauthenticated
POST /workspaces/{workspace}/status-pages
Parameters
| Name | In | Type | Description |
|---|---|---|---|
workspacerequired | path | string | The workspace slug |
Request body
| Name | Type |
|---|---|
slugrequired | string |
titlerequired | string |
description | string | null |
custom_domain | string | null |
published | boolean |
locale | en | hu |
accent_color | string | null |
logo_url | string | null |
favicon_url | string | null |
custom_css | string | null |
footer | string | null |
bar_days | integer |
uptime_days | 1 | 7 | 30 | 90 | 365 |
upcoming_maintenance_days | integer |
incident_history_days | integer |
show_latency | boolean |
Responses
201404Not found403Authorization error401Unauthenticated422Validation error
GET /workspaces/{workspace}/status-pages/{statusPage}
Parameters
| Name | In | Type | Description |
|---|---|---|---|
workspacerequired | path | string | The workspace slug |
statusPagerequired | path | integer | The status page ID |
Responses
200404Not found403Authorization error401Unauthenticated
PATCH /workspaces/{workspace}/status-pages/{statusPage}
Parameters
| Name | In | Type | Description |
|---|---|---|---|
workspacerequired | path | string | The workspace slug |
statusPagerequired | path | integer | The status page ID |
Request body
| Name | Type |
|---|---|
slug | string |
title | string |
description | string | null |
custom_domain | string | null |
published | boolean |
locale | en | hu |
accent_color | string | null |
logo_url | string | null |
favicon_url | string | null |
custom_css | string | null |
footer | string | null |
bar_days | integer |
uptime_days | 1 | 7 | 30 | 90 | 365 |
upcoming_maintenance_days | integer |
incident_history_days | integer |
show_latency | boolean |
Responses
200404Not found403Authorization error401Unauthenticated422Validation error
DELETE /workspaces/{workspace}/status-pages/{statusPage}
Parameters
| Name | In | Type | Description |
|---|---|---|---|
workspacerequired | path | string | The workspace slug |
statusPagerequired | path | integer | The status page ID |
Responses
204No content404Not found403Authorization error401Unauthenticated
PUT /workspaces/{workspace}/status-pages/{statusPage}/layout
Replaces all sections and items of the page. The order of the arrays is the display order
Parameters
| Name | In | Type | Description |
|---|---|---|---|
workspacerequired | path | string | The workspace slug |
statusPagerequired | path | integer | The status page ID |
Request body
| Name | Type |
|---|---|
sectionsrequired | list<object> |
Responses
200404Not found403Authorization error401Unauthenticated422Validation error