List of monitoring checks
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 |
rows-per-page | Integer | Required | Results per page. Can be 10, 20, 30, 50 or 100 |
page | Integer | Required | The page number you want to check |
check_type | Integer | Optional |
Monitoring check types:
|
state | Integer | Optional |
Possible values:
|
status | Integer | Optional |
Possible values:
|
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 "rows-per-page", the following status will be returned:
{"status":"Failed","statusDescription":"Wrong or missing required parameter 'rows-per-page'."}
If there is no value for "page", the following status will be returned:
{"status":"Failed","statusDescription":"Missing or invalid required parameter 'page'."}
If you use the API call as a sub-user and your Monitoring check limit is 0, the following status will be returned:
{"status":"Failed","statusDescription":"You don't have permission to do that."}
Note: These are example errors in JSON format.
URL JSON: https://api.cloudns.net/monitoring/get-records.json
POST/GET:
auth-id=0&auth-password=password&rows-per-page=10&page=1
sub-auth-id=0&auth-password=password&rows-per-page=10&page=1
URL XML: https://api.cloudns.net/monitoring/get-records.xml
POST/GET:
auth-id=0&auth-password=password&rows-per-page=10&page=1
sub-auth-id=0&auth-password=password&rows-per-page=10&page=1