监测点分组查询
<基本信息>
Path: /apiapi/monitor/group/info/{id}
Method: GET
请求参数类型: URL路径参数
响应参数类型:JSON
<请求参数>
Query
参数名称 | 是否必须 | 参数类型 | 默认值 | 示例 | 备注 |
group_id | 否 | int | 分组id |
请求示例
curl -H "token:a3af84f7c1d0d935024ba58b5da78aaa" https://v6-api.jiankongbao.com/monitor/group/info?group_id=29
<返回数据>
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
group_id | number | 非必须 | 分组id | 备注:分组id | |
group_name | string | 非必须 | 分组名 | 备注:分组名 | |
account_id | number | 非必须 | 账户id | 备注:账户id | |
user_id | number | 非必须 | 当前uid | 备注:当前uid | |
group_status | number | 非必须 | 分组状态 | 备注:分组状态 | |
create_time | string | 非必须 | 创建时间 | 备注:创建时间 | |
network_protocol | string | 非必须 | ipv4/ipv6 | 备注:ipv4/ipv6 | |
modify_time | string | 非必须 | 更改时间 | 备注:更改时间 | |
modify_user_id | number | 非必须 | 更改者id | 备注:更改者id | |
monitor_list | object | 非必须 | 监控点列表信息 | 备注:监控点列表信息 item 类型:object | |
monitor_id | number | 必须 | 监控点id | 备注:监控点id | |
monitor_name | string | 必须 | 监控点名称 | 备注:监控点名称 | |
international_name | object | 必须 | 监控点国际化信息 | ||
ch | string | 非必须 | 中文名 | 备注:中文名 | |
tw | string | 非必须 | 繁体名 | 备注:繁体名 | |
en | string | 非必须 | 英文名 | 备注:英文名 | |
location_code | number | 必须 | 所属地区号 | 备注:所属地区号 | |
isp_id | number | 必须 | 运营商id | 备注:运营商id | |
monitor_flag | string | 必须 | 监控点类别 | 备注:监控点类别 |
响应示例
{
"group_id": 29,
"group_name": "testzz",
"account_id": 188797,
"user_id": 990053,
"group_status": 1,
"create_time": "2022-08-02 19:20:12",
"network_protocol": "4",
"modify_time": "2022-08-02 19:26:32",
"modify_user_id": 990053,
"monitor_list": [
{
"monitor_id": 1,
"monitor_name": "陕西西安电信",
"international_name": {
"tw": "陝西西安電信",
"ch": "陕西西安电信",
"en": "Shaanxi Xi'an Telecom"
},
"location_code": "100610100",
"isp_id": 1,
"monitor_flag": "public"
},
{
"monitor_id": 2,
"monitor_name": "辽宁大连联通",
"international_name": {
"ch": "辽宁大连联通",
"tw": "遼寧大連聯通",
"en": "Liaoning Dalian Unicom"
},
"location_code": "100210200",
"isp_id": 2,
"monitor_flag": "public"
}
]
}