API Documents
Contents
    Loading
Documentation API Documents Get the Monitor List

Get the Monitor List

1. API Description

This API (Monitor.List) is used to get the monitor List.
Domain name for API request:https://dnsapi.cn/Monitor.List
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
Common Request Parameters

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.List -d 'user_token=730060,e1a8a$f14dc5dcbafd83680b3d2a553c4d553d&format=json&domain_id=2317346'

The following is a sample response:

  • JSON:
{
     "status": {
         "code": "1",
         "message": "Action completed successful",
         "created_at": "2014-06-05 10:21:00"
     },
     "info": {
         "total_count": 1,
         "down_count": 0
     },
     "monitors": [
         {
             "monitor_id": "792626",
             "domain": "usertest.com",
             "domain_id": "15132",
             "domain_grade": "DP_Free",
             "record_id": "283118",
             "sub_domain": "eeee",
             "record_line": "Default",
             "ip": "4.4.4.4",
             "now_ip": "4.4.4.4",
             "host": "eeee.usertest.com",
             "port": "80",
             "monitor_type": "http",
             "monitor_path": "/",
             "monitor_interval": "180",
             "points": "hk-1,usa-1,ctc-4",
             "bak_ip": "auto",
             "status": "Ok",
             "status_code": "200",
             "sms_notice": "me",
             "email_notice": "me",
             "weixin_notice": "",
             "less_notice": "yes",
             "callback_url": "",
             "callback_key": "",
             "monitor_status": "enabled",
             "created_on": "2014-06-05 10:20:41",
             "updated_on": "2014-06-05 10:20:41",
             "bak_ip_status": [],
             "delay_notify": "60",
             "warnasdown": "",
             "sms2voice": ""
         }
     ]
 }
Last updated on 2020-12-23 09:02

DNSPod Technical Community

Sharing & discussions

Scan using WeChat

Official WeChat group

Join WeChat group to chat and feedback

Scan using WeChat