GET
/
incidents
/
{incident}
/
updates
curl --request GET \
  --url http://localhost/api/incidents/{incident}/updates
{
  "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>"
        }
      }
    }
  ],
  "meta": {
    "current_page": 123,
    "from": 123,
    "path": "<string>",
    "per_page": 123,
    "to": 123
  },
  "links": {
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>"
  }
}

Path Parameters

incident
integer
required

The incident ID

Query Parameters

filter[status]
string
sort
string

Available sorts are status, created_at. You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -status.

include
string

Available includes are incident, incidentCount, incidentExists. You can include multiple options by separating them with a comma.

per_page
integer
default:
15

How many items to show per page.

page
integer

Which page to show.

Response

200
application/json
Paginated set of `Update`
data
object[]
required
meta
object
required