List Status Changes
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.).
Parameters
Parameter | Description |
---|---|
Check ID | - |
From | Start time of period. Format is UNIX timestamp. Default value is one week earlier than to . |
Order | Sorting order of outages. Ascending or descending. |
To | End time of period. Format is UNIX timestamp. Default value is the current time. |
Example Output
{
"summary": {
"states": [
{
"status": "up",
"timefrom": 1293143523,
"timeto": 1294180263
}
]
}
}
Workflow Library Example
List Status Changes with Pingdom and Send Results Via Email