Sorry, we don't support your browser.  Install a modern browser

API Pagination Syntax#229

A

The response structure for pagination is different for getAlertContacts & getMonitors. Would be great if this was consistant!
getAlertContacts:

{
    "stat": "ok",
    "offset": 0,
    "limit": 50,
    "total": 10,
    "alert_contacts": [...]
}

getMonitors:

{
    "stat": "ok",
    "pagination": {
        "offset": 0,
        "limit": 50,
        "total": 10
    },
    "monitors": [...]
}
2 years ago
Changed the status to
Idea
2 years ago