节点组信息
方法:GET
https://network.tingyun.com/network-report-data/subProbe/subprobeData-json-authkey/{groupId}
请求参数
| 字段名 |
类型 |
必填 |
选项 |
描述 |
| authkey |
String |
是 |
-- |
授权码 |
| groupId |
Int |
是 |
填写到URL后面 |
节点组ID |
| showIpv6 |
Int |
否 |
0:不展示,1:展示 |
是否展示节点支持IPv6字段 |
返回参数
| 字段名 |
类型 |
描述 |
| status |
Int |
返回状态 |
| data |
object |
数据,详情见下方data字段说明 |
data字段说明
| 字段名 |
类型 |
描述 |
| id |
Int |
节点组ID |
| name |
string |
节点组名称 |
| comments |
string |
节点组描述 |
| grp_option |
Int |
节点组类型(0:PC,1:真机) |
| probe_total |
Int |
节点数量 |
| probes |
object |
节点信息,详情见下方probes字段说明 |
probes对象字段说明
| 字段名 |
类型 |
描述 |
| city_id |
Int |
城市ID |
| city_name |
string |
城市名称 |
| prov_id |
Int |
省份ID |
| prov_name |
string |
省份名称 |
| country_id |
Int |
国家ID |
| country_name |
string |
国家名称 |
| conn_id |
Int |
接入方式ID |
| conn_name |
string |
接入方式名称 |
| isp_id |
Int |
运营商ID |
| isp_name |
string |
运营商名称 |
| probe_id |
Int |
节点ID |
| probe_ip |
string |
节点IP |
| type |
Int |
节点类型 |
| sla_probe |
Int |
节点SLA(数量) |
| isIpv6 |
boolean |
是否支持IPv6 |
错误说明
| 字段说明 |
错误信息 |
| authkey |
PermissionDeniedError |
返回示例
{
"status": 200,
"data": {
"id": 16466,
"name": "te",
"comments": "a",
"grp_option": 0,
"probe_total": 3,
"probes": [
{
"city_id": 481101,
"city_name": "北京市",
"conn_id": 8,
"conn_name": "IDC机房专线",
"isp_id": 25,
"isp_name": "中国移动",
"probe_id": 0,
"probe_ip": null,
"type": 0,
"sla_probe": 3
}
]
},
"error_code": 0,
"time": "2023-04-03 07:06:21"
}