v1

latestOpenAPI 3.0.02026-08-0650184174.6 KB
Summary.outage

Get a list of status changes for a specified check

Get a list of status changes for a specified check and time period. If order is speficied to descending, the list is ordered by newest first. (Default is ordered by oldest first.)

get/summary.outage/{checkid}

Path parameters

checkidinteger required

Query parameters

frominteger

Start time of period. Format is UNIX timestamp. Default value is one week earlier than to.

tointeger

End time of period. Format is UNIX timestamp. Default value is the current time.

order'asc' | 'desc'

Sorting order of outages. Ascending or descending.

Response

Successful HTTP Response

Example response

{
  "summary": {
    "states": [
      {
        "status": "up",
        "timefrom": 1293143523,
        "timeto": 1294180263
      }
    ]
  }
}