List incident_sub_statuses
curl --request GET \
--url https://api.rootly.com/v1/incidents/{incident_id}/sub_statuses \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"type": "incident_sub_statuses",
"attributes": {
"incident_id": "<string>",
"sub_status_id": "<string>",
"assigned_at": "<string>",
"assigned_by_user_id": 123
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
comma separated if needed. eg: sub_status,assigned_by_user
sub_status, assigned_by_user comma separated if needed. eg: created_at,updated_at
created_at, -created_at, updated_at, -updated_at, assigned_at, -assigned_at success
Show child attributes
Unique ID of the incident_sub_status
incident_sub_statuses Show child attributes
Note: To change an incident's sub-status, use the PATCH /incidents/:id endpoint and set the sub_status_id attribute. This endpoint is for modifying the timestamp of when an incident's sub-status was assigned.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/incidents/{incident_id}/sub_statuses \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"type": "incident_sub_statuses",
"attributes": {
"incident_id": "<string>",
"sub_status_id": "<string>",
"assigned_at": "<string>",
"assigned_by_user_id": 123
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}