GET/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updates
List all updates for an incident
Security: Bearer Auth
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Path parameters
status_page_id:string
Status Page ID
status_page_incident_id:string
Status Page Incident ID
Query parameters
page:stringoptional
Page number of paginated results.
Default: "1"
per_page:stringoptional
Number of items per page.
Default: "20"
Responses
| Status | Meaning | Description |
|---|---|---|
| 200 | OK | Returns a list of updates for the incident |
| 401 | Unauthorized | Unauthenticated |
| 403 | Forbidden | Unauthorized |
| 500 | Internal Server Error | Internal Server Error |
Response Schema
result:object[]
result_info:object
success:boolean
Whether the API call was successful
errors:object[]
messages:object[]
Request
GET
/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updatescurl --request GET \
--url https://api.onlineornot.com/v1/status_pages/a1b2c3d4/incidents/a1b2c3d4/updates \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access-token}'
Response
{
"result": [
{
"id": "e5f6g7h8",
"incident_id": "a1b2c3d4",
"status": "INVESTIGATING",
"description": "We are investigating reports of connectivity issues",
"date_happened": "2021-01-01T00:00:00.000Z",
"created_at": "2021-01-01T00:00:00.000Z",
"updated_at": "2021-01-01T00:00:00.000Z",
"components": [
{
"id": "comp123",
"name": "API Server",
"old_status": "OPERATIONAL",
"new_status": "MAJOR_OUTAGE"
}
]
}
],
"result_info": {
"page": 1,
"per_page": 20,
"count": 1,
"total_count": 1
},
"success": true,
"errors": [],
"messages": []
}
POST/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updates
Create a new update for an incident
Security: Bearer Auth
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Path parameters
status_page_id:string
Status Page ID
status_page_incident_id:string
Status Page Incident ID
Body parameters
status:string
Status for this update
Accepted values: "INVESTIGATING" | "IDENTIFIED" | "MONITORING" | "RESOLVED" | "UPDATE" | "SCHEDULED" | "IN_PROGRESS" | "VERIFYING" | "COMPLETED"
description:string
Update message
notify_subscribers:booleanoptional
Whether to notify status page subscribers
Default: true
components_affected:object[]optional
Components affected by this update with their new status
date_happened:stringoptional
When this update occurred (defaults to now)
Responses
| Status | Meaning | Description |
|---|---|---|
| 201 | Created | Returns the newly created incident update |
| 400 | Bad Request | Bad Request |
| 401 | Unauthorized | Unauthenticated |
| 403 | Forbidden | Unauthorized |
| 500 | Internal Server Error | Internal Server Error |
Response Schema
result:object
success:boolean
Whether the API call was successful
errors:object[]
messages:object[]
Request
POST
/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updatescurl --request POST \
--url https://api.onlineornot.com/v1/status_pages/a1b2c3d4/incidents/a1b2c3d4/updates \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access-token}' \
--header 'Content-Type: application/json' \
--data '{"status":"INVESTIGATING","description":"We are investigating reports of connectivity issues","notify_subscribers":true,"components_affected":[{"id":"a1b2c3d4","status":"MAJOR_OUTAGE"}],"date_happened":"2021-01-01T00:00:00.000Z"}'
Response
{
"result": {
"id": "e5f6g7h8",
"incident_id": "a1b2c3d4",
"status": "INVESTIGATING",
"description": "We are investigating reports of connectivity issues",
"date_happened": "2021-01-01T00:00:00.000Z",
"created_at": "2021-01-01T00:00:00.000Z",
"updated_at": "2021-01-01T00:00:00.000Z",
"components": [
{
"id": "comp123",
"name": "API Server",
"old_status": "OPERATIONAL",
"new_status": "MAJOR_OUTAGE"
}
]
},
"success": true,
"errors": [],
"messages": []
}
GET/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updates/{incident_update_id}
Retrieve a single incident update
Security: Bearer Auth
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Path parameters
status_page_id:string
Status Page ID
status_page_incident_id:string
Status Page Incident ID
incident_update_id:string
Incident Update ID
Responses
| Status | Meaning | Description |
|---|---|---|
| 200 | OK | Returns the incident update |
| 401 | Unauthorized | Unauthenticated |
| 403 | Forbidden | Unauthorized |
| 404 | Not Found | Not Found |
| 500 | Internal Server Error | Internal Server Error |
Response Schema
result:object
success:boolean
Whether the API call was successful
errors:object[]
messages:object[]
Request
GET
/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updates/{incident_update_id}curl --request GET \
--url https://api.onlineornot.com/v1/status_pages/a1b2c3d4/incidents/a1b2c3d4/updates/e5f6g7h8 \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access-token}'
Response
{
"result": {
"id": "e5f6g7h8",
"incident_id": "a1b2c3d4",
"status": "INVESTIGATING",
"description": "We are investigating reports of connectivity issues",
"date_happened": "2021-01-01T00:00:00.000Z",
"created_at": "2021-01-01T00:00:00.000Z",
"updated_at": "2021-01-01T00:00:00.000Z",
"components": [
{
"id": "comp123",
"name": "API Server",
"old_status": "OPERATIONAL",
"new_status": "MAJOR_OUTAGE"
}
]
},
"success": true,
"errors": [],
"messages": []
}
PATCH/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updates/{incident_update_id}
Update an existing incident update
Security: Bearer Auth
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Path parameters
status_page_id:string
Status Page ID
status_page_incident_id:string
Status Page Incident ID
incident_update_id:string
Incident Update ID
Body parameters
status:stringoptional
Updated status
Accepted values: "INVESTIGATING" | "IDENTIFIED" | "MONITORING" | "RESOLVED" | "UPDATE" | "SCHEDULED" | "IN_PROGRESS" | "VERIFYING" | "COMPLETED"
description:stringoptional
Updated message
date_happened:stringoptional
Updated timestamp
Responses
| Status | Meaning | Description |
|---|---|---|
| 200 | OK | Returns the updated incident update |
| 400 | Bad Request | Bad Request |
| 401 | Unauthorized | Unauthenticated |
| 403 | Forbidden | Unauthorized |
| 404 | Not Found | Not Found |
| 500 | Internal Server Error | Internal Server Error |
Response Schema
result:object
success:boolean
Whether the API call was successful
errors:object[]
messages:object[]
Request
PATCH
/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updates/{incident_update_id}curl --request PATCH \
--url https://api.onlineornot.com/v1/status_pages/a1b2c3d4/incidents/a1b2c3d4/updates/e5f6g7h8 \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access-token}' \
--header 'Content-Type: application/json' \
--data '{"status":"IDENTIFIED","description":"The issue has been identified","date_happened":"2021-01-01T00:00:00.000Z"}'
Response
{
"result": {
"id": "e5f6g7h8",
"incident_id": "a1b2c3d4",
"status": "INVESTIGATING",
"description": "We are investigating reports of connectivity issues",
"date_happened": "2021-01-01T00:00:00.000Z",
"created_at": "2021-01-01T00:00:00.000Z",
"updated_at": "2021-01-01T00:00:00.000Z",
"components": [
{
"id": "comp123",
"name": "API Server",
"old_status": "OPERATIONAL",
"new_status": "MAJOR_OUTAGE"
}
]
},
"success": true,
"errors": [],
"messages": []
}
DELETE/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updates/{incident_update_id}
Delete an incident update
Security: Bearer Auth
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Path parameters
status_page_id:string
Status Page ID
status_page_incident_id:string
Status Page Incident ID
incident_update_id:string
Incident Update ID
Responses
| Status | Meaning | Description |
|---|---|---|
| 200 | OK | Returns the deleted incident update's ID |
| 401 | Unauthorized | Unauthenticated |
| 403 | Forbidden | Unauthorized |
| 404 | Not Found | Not Found |
| 500 | Internal Server Error | Internal Server Error |
Response Schema
result:object
success:boolean
Whether the API call was successful
errors:object[]
messages:object[]
Request
DELETE
/v1/status_pages/{status_page_id}/incidents/{status_page_incident_id}/updates/{incident_update_id}curl --request DELETE \
--url https://api.onlineornot.com/v1/status_pages/a1b2c3d4/incidents/a1b2c3d4/updates/e5f6g7h8 \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access-token}'
Response
{
"result": {
"id": "e5f6g7h8"
},
"success": true,
"errors": [],
"messages": []
}