Get notifications pages

Description

Get notifications pages count


Parameters

Name Data Type Status Description
auth-id Integer Required Authentication parameter
auth-password String Required Authentication parameter
id Integer Required The ID of the monitoring check
rows-per-page Integer Required Results per page. Can be 10, 20, 30, 50 or 100

Response: The number of pages with notifications for a specific check.


Errors

When the authenctication of 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."}

When the record-id is incorrect or missing, any API request will fail with the following status and statusDescription:

{"status":"Failed","statusDescription":"Invalid request."}

If there is not added a value for "rows-per-page", the following status will be returned:

{"status":"Failed","statusDescription":"Wrong or missing required parameter 'rows-per-page'."}

Note: These are example errors in JSON format.


Example

URL JSON: https://api.cloudns.net/monitoring/notifications-pages.json
Domain POST/GET: auth-id=0&auth-password=password&id=125&rows-per-page=10

URL XML: https://api.cloudns.net/monitoring/notifications-pages.xml
Domain POST/GET: auth-id=0&auth-password=password&id=125&rows-per-page=10


Last modified: 2022-04-28
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more