API Documents
Documentation API Documents Get a Monitor’s Warnings

Get a Monitor’s Warnings

1. API Description

This API (Monitor.Getdowns) is used to get a monitor’s warnings.
Domain name for API request:https://dnsapi.cn/Monitor.Getdowns
HTTP request method: POST

2. Request Parameters

The table below lists only the API request parameters. Common request parameters are required when the API is called. For more information, please see Common Request Parameters.

Parameter Required Description
offset no The offset of the response.The first is numbered 0.Optional parameter.
length no The number of results you want get.Optional parameter.

3. Response Codes

Only the response codes related to this API are listed below. For other response codes, please see Common Return Codes.

Response Code Description
Common Return Codes

4. Sample

curl -X POST https://api.dnspod.com/Monitor.Getdowns -d 'user_token=730060,e1a8a$f14dc5dcbafd83680b3d2a553c4d553d&format=json&offset=0&length=10'

The following is a sample response:

  • JSON:
    "status": {
        "code": "1",
        "message": "Action completed successful",
        "created_at": "2014-06-05 10:25:04"
    "info": {
        "total_count": "1"
    "monitor_downs": [
            "down_id": "15132",
            "monitor_id": "792626",
            "host": "eeee.usertest.com",
            "record_line": "Default",
            "ip": "",
            "warn_reason": "Connection timed out",
            "switch_log": [
                "2014-06-05 10:24:28 No available spare server to switch to"
            "created_on": "2014-06-05 10:23:14",
            "updated_on": "0000-00-00 00:00:00"
Last updated on 2020-12-23 09:14

DNSPod Technical Community

Sharing & discussions

Scan using WeChat

Official WeChat group

Join WeChat group to chat and feedback

Scan using WeChat