v1

latestOpenAPI 3.1.02026-08-06360288.3 KB
Incidents

List Incidents (Deprecated)

DEPRECATED

List all active and resolved incidents for a status page. Limited to 100 results.

Warning: This method will be removed in future versions. Use the incident/list/active and incident/list/resolved methods instead.

get/incident/list/{statuspage_id}

Path parameters

statuspage_idstring required

ID of the status page

Headers

x-api-idstring required
x-api-keystring required

Response

OK

Example response

{
  "result": {
    "active_incidents": [
      {
        "__v": 0,
        "_id": "52e5ebd1e32578623900000c",
        "components_affected": [
          {
            "__v": 0,
            "_id": "52e5e0e0893548543700001a",
            "containers": [
              "52e5e0e08935485437000019",
              "52e5e2d6b799555038000009"
            ],
            "name": "Website",
            "position": 1,
            "statuspage": "52e5e0e0893548543700000b"
          }
        ],
        "containers_affected": [
          {
            "__v": 0,
            "_id": "52e5e0e08935485437000019",
            "location": "do-ams-2",
            "name": "Amsterdam"
          },
          {
            "__v": 0,
            "_id": "52e5e2d6b799555038000009",
            "location": "ap-northeast-1",
            "name": "Tokyo"
          }
        ],
        "datetime_open": "2014-01-27T05:17:05.089Z",
        "infrastructure_affected": [
          {
            "_id": "5a1b41edb4546d046c8efa06",
            "component": {
              "__v": 0,
              "_id": "52e5e0e0893548543700001a",
              "containers": [
                "52e5e0e08935485437000019",
                "52e5e2d6b799555038000009"
              ],
              "name": "Website",
              "position": 1,
              "statuspage": "52e5e0e0893548543700000b"
            },
            "container": {
              "__v": 0,
              "_id": "52e5e0e08935485437000019",
              "location": "do-ams-2",
              "location_geo": {
                "coords": []
              },
              "name": "Amsterdam",
              "position": 1
            }
          }
        ],
        "kind": "incident",
        "messages": [
          {
            "components": [
              "52e5e0e0893548543700001a"
            ],
            "__v": 0,
            "_id": "52e5ebd1e32578623900000d",
            "containers": [
              "52e5e0e08935485437000019",
              "52e5e2d6b799555038000009"
            ],
            "datetime": "2014-01-27T05:17:05.185Z",
            "details": "We are currently investigating the issue and working to identify the root cause.",
            "incident": "52e5ebd1e32578623900000c",
            "ip": "203.0.113.42",
            "source": "Dashboard",
            "state": 100,
            "status": 300,
            "statuspage": "52e5e0e0893548543700000b"
          }
        ],
        "name": "Elevated Web Error Rate",
        "statuspage": "52e5e0e0893548543700000b"
      }
    ],
    "resolved_incidents": []
  },
  "status": {
    "error": "no",
    "message": "OK"
  }
}