获取用户可用的监测点列表

<基本信息>

Path /apiapi/monitor/list

Method GET

请求参数类型: URL路径参数

响应参数类型:JSON


<请求参数>

请求示例

curl -H "token:a3af84f7c1d0d935024ba58b5da78aaa"  https://v6-api.jiankongbao.com/apiapi/monitor/list


<返回数据>

名称

类型

是否必须

默认值

备注

其他信息


object

非必须



item 类型:object

monitor_id

number

非必须


 

监测点ID

备注:监测点ID

monitor_name

string

非必须


 

监测点名字

备注:监测点名字

location_code

number

非必须


 

监测点所在地区编码

备注:监测点所在地区编码

m_en_name

string

非必须


 

监测点名字国际化信息

备注:监测点名字国际化信息

monitor_flag

string

非必须


 

监测点属性标志

备注:监测点属性标志

isp_id

number

非必须


 

运营商id

备注:运营商id

isp_name

string

非必须


 

运营商名

备注:运营商名

isp_en_name

string

非必须


 

运营商名国际化信息

备注:运营商名国际化信息

default

boolean

必须


 

是否是默认监测点

备注:是否是默认监测点

响应示例

[
    {
        "monitor_id": 1,
        "monitor_name": "陕西西安电信",
        "location_code": "100610100",
        "m_en_name":"{\"tw\":\"\陝\西\西\安\電\信\",\"ch\":\"\陕\西\西\安\电\信\",\"en\":\"Shaanxi Xi'an Telecom\"}",
        "monitor_flag": "public",
        "isp_id": 1,
        "isp_name": "电信",
        "isp_en_name":"{\"tw\":\"\電\信\",\"ch\":\"\电\信\",\"en\":\"China Telecom\"}",
        "default": true
    },
    {
        "monitor_id": 2,
        "monitor_name": "辽宁大连联通",
        "location_code": "100210200",
        "m_en_name":"{\"ch\":\"\辽\宁\大\连\联\通\",\"tw\":\"\遼\寧\大\連\聯\通\",\"en\":\"Liaoning Dalian Unicom\"}",
        "monitor_flag": "public",
        "isp_id": 2,
        "isp_name": "联通",
        "isp_en_name":"{\"tw\":\"\聯\通\",\"ch\":\"\联\通\",\"en\":\"China Unicom\"}",
        "default": true
    },
......
]