This API method returns information about the available intervals for a specific monitoring type.
Name | Data Type | Status | Description |
auth-id or sub-auth-id or sub-auth-user | Integer | Required | Authentication parameter |
auth-password | String | Required | Authentication parameter |
check_type | Integer | Required |
Monitoring check types:
|
When the authentication of the API user is not correct, any API request will fail with the following status and statusDescription:
{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}
If there is no value for "check_type" or it is missing, the following status will be returned:
{"status":"Failed","statusDescription":"This is invalid monitoring type."}
Note: These are example errors in JSON format.
URL JSON: https://api.cloudns.net/get-available-intervals.json
POST/GET:
auth-id=0&auth-password=password&check_type=17
sub-auth-id=0&auth-password=password&check_type=17
URL XML: https://api.cloudns.net/get-available-intervals.xml
POST/GET:
auth-id=0&auth-password=password&check_type=17
sub-auth-id=0&auth-password=password&check_type=17