Get status page incidents

Get all the incidents for a status page ordered by latest entry


GET/api/status-pages/{statusPage}/incidents

Get status page incidents

Retrieves all incidents for a specific status page, ordered by the most recent entry.

Request

GET
/api/status-pages/{statusPage}/incidents
curl -X GET "https://ploi.io/api/status-pages/{statusPage}/incidents" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Response

{
  "data": [
    {
      "id": 2,
      "title": "Server connection snowy-crater recovered",
      "description": "Connection to server snowy-crater has been recovered",
      "severity": "resolved"
    },
    {
      "id": 1,
      "title": "Server snowy-crater is not reachable",
      "description": "Unable to establish connection to server snowy-crater, please check connection",
      "severity": "high"
    }
  ],
  "links": {
    "first": "https://ploi.io/api/status-pages/1/incidents?page=1",
    "last": "https://ploi.io/api/status-pages/1/incidents?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "path": "https://ploi.io/api/status-pages/1/incidents",
    "per_page": 15,
    "to": 3,
    "total": 3
  }
}