Categories
Announcements

New Features for the API

We have added few new features to the API which may look tiny, yet, can be handy for anyone integrating with the API. Here they are

Search

This (search) is a new parameter for the getMonitors method for filtering the responses with a given keyword (that will be searched in the monitorURL and monitorFriendlyName).

Getting Account Details

If you need a short summary of the account details, the getAccountDetails can return the number of up, down or paused monitors, the monitor limit and the min. interval that can be used on the account.

Threshold and recurrence

It is possible in Pro Plans to get notified “if down for x minutes, alert once (or every y minutes)”. These parameters allow setting these values via the API.

They can be used with the addMonitor or editMonitor methods and, also, getMonitors will return the threshold + recurrence values of each monitor’s alert contact.

Older Response Time Data

As the Pro Plans are keeping the response time values back to 12 months, here is a way to reach them via the API (besides the web interface).

The responseTimesStartDate and responseTimesEndDate parameters in the getMonitors method are the way to go for that.

That is all for now :).

2 replies on “New Features for the API”

Please make sure that you request JSON (noJSONCallback=1 parameter is needed) and nont JSON-P.

Leave a Reply

Your email address will not be published. Required fields are marked *