POST
/
incidents
/
{incident}
/
updates
curl --request POST \
  --url http://localhost/api/incidents/{incident}/updates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": 0,
  "message": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "type": "updates",
    "attributes": {
      "id": "<string>",
      "updateable_id": "<string>",
      "updateable_type": "<string>",
      "message": "<string>",
      "status": {
        "human": "<string>",
        "value": "<string>"
      },
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

incident
integer
required

The incident ID

Body

application/json
`CreateIncidentUpdateRequestData`
status
enum<integer>
required
Available options:
0,
1,
2,
3,
4
message
string
required

Response

200
application/json
`Update`
data
object
required