Open topic with navigation
AlertSite provides a set of APIs to manage your monitors and pull their historical data.
This is a REST API that allows you to create, edit and delete monitors, and list your existing monitors. The API comes in two flavors: JSON API and XML API. Each has its own capabilities and syntax. We recommend using the JSON API unless you need a specific feature supported only by the XML API (such as getting monitor status).
The following table compares the features of the JSON and XML APIs.
|Operation||JSON API||XML API|
|Get one or more monitors||+||+|
|Add monitor||All monitor types except Perfecto||Website, E-mail, FTP, Name server monitors only|
|Edit monitor||All monitor types except Perfecto||Website, E-mail, FTP, Name server monitors only|
|Edit monitor: change locations||+||–|
|Get monitor status||–||+|
|Get AlertSite plans||–||+|
AlertSite’s Report API allows you to get historical data (such as availability and response time) for one or more monitors based on location, time frame and other parameters. Your can have your applications parse this data and display it any way you see fit. The API supports these report types:
For the API reference, see http://help.alertsite.com/ReportAPI.