curl --request GET \
--url http://localhost/api/incidents/{incident} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "incidents",
"attributes": {
"id": 123,
"guid": "<string>",
"name": "<string>",
"message": "<string>",
"component_id": 123,
"visible": 0,
"stickied": true,
"notifications": 123,
"status": {
"human": "<string>",
"value": "<string>"
},
"occurred": {
"human": "<string>",
"string": "<string>"
},
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
}
},
"relationships": {
"components": {
"data": [
{
"type": "components",
"id": "<string>"
}
]
},
"updates": {
"data": [
{
"type": "updates",
"id": "<string>"
}
]
},
"user": {
"data": {
"type": "<string>",
"id": "<string>"
}
}
}
}
}curl --request GET \
--url http://localhost/api/incidents/{incident} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "incidents",
"attributes": {
"id": 123,
"guid": "<string>",
"name": "<string>",
"message": "<string>",
"component_id": 123,
"visible": 0,
"stickied": true,
"notifications": 123,
"status": {
"human": "<string>",
"value": "<string>"
},
"occurred": {
"human": "<string>",
"string": "<string>"
},
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
}
},
"relationships": {
"components": {
"data": [
{
"type": "components",
"id": "<string>"
}
]
},
"updates": {
"data": [
{
"type": "updates",
"id": "<string>"
}
]
},
"user": {
"data": {
"type": "<string>",
"id": "<string>"
}
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The incident ID
Available includes are components, componentsCount, componentsExists, updates, updatesCount, updatesExists, user, userCount, userExists. You can include multiple options by separating them with a comma.
Incident
Show child attributes
incidents Show child attributes
0, 1, 2 Show child attributes