curl --request POST \
--url https://api1.irisagent.com/v1/incidents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"incident": {
"id": "<string>",
"name": "<string>",
"status": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"shortlink": "<string>"
},
"components": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"last_updated_at": "2023-11-07T05:31:56Z"
}
],
"updates": [
{
"impact": "<string>",
"status": "<string>",
"body": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"affected_components": [
{
"name": "<string>",
"old_status": "<string>",
"new_status": "<string>"
}
]
}
],
"postmortem": {}
}
'