pingmesh-idc内netident拓扑
GET
https://api.flashcat.cloud/api/n9e-plus/pingmesh/netidents/topology/idc/{idc_id}/ui
pingmesh
最后修改时间:2024-03-08 11:32:02
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e-plus/pingmesh/netidents/topology/idc//ui?protocol=tcp&metric='
响应示例响应示例
{
"dat": {
"metric": {
"name": "net_response_response_time",
"aggregate": "max"
},
"protocol": "tcp",
"port": "",
"start": 1696833930,
"end": 1696833930,
"idc": {
"id": 22,
"name": "idc1"
},
"net_ident_info": {
"id": 0,
"name": ""
},
"topology": [
{
"id": 8,
"name": "10.206.16.7/32",
"targets": [
{
"id": 4,
"name": "10.206.0.16/32",
"values": [
{
"tags": {
"protocol": "tcp",
"sidc": "22#idc1",
"snet_ident": "10.206.16.7/32",
"tidc": "22#idc1",
"tnet_ident": "10.206.0.16/32"
},
"timestamp": 1696833930,
"value": -1
}
]
},
{
"id": 8,
"name": "10.206.16.7/32",
"values": [
{
"tags": {
"protocol": "tcp",
"sidc": "22#idc1",
"snet_ident": "10.206.16.7/32",
"tidc": "22#idc1",
"tnet_ident": "10.206.16.7/32"
},
"timestamp": 1696833930,
"value": -1
}
]
}
]
},
{
"id": 4,
"name": "10.206.0.16/32",
"targets": [
{
"id": 8,
"name": "10.206.16.7/32",
"values": [
{
"tags": {
"protocol": "tcp",
"sidc": "22#idc1",
"snet_ident": "10.206.0.16/32",
"tidc": "22#idc1",
"tnet_ident": "10.206.16.7/32"
},
"timestamp": 1696833930,
"value": -1
}
]
},
{
"id": 4,
"name": "10.206.0.16/32",
"values": [
{
"tags": {
"protocol": "tcp",
"sidc": "22#idc1",
"snet_ident": "10.206.0.16/32",
"tidc": "22#idc1",
"tnet_ident": "10.206.0.16/32"
},
"timestamp": 1696833930,
"value": -1
}
]
}
]
}
]
},
"err": ""
}
请求参数
Path 参数
idc_id
integer
必需
Query 参数
timestamp
integer
0为获取最新值
protocol
string
协议
示例值:
tcp
port
string
可选
示例值:
qos:1000
metric
string
必需
tcp/udp: 最大延时: net_response_response_time
datasource_id
integer
可选
Header 参数
Authorization
string
可选
示例值:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjRlNzYxNmY2LWFjZGUtNGNlNS04MmE3LTBiMTgyYzJjYzQ2ZiIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTcwMDA0NjQxNiwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9.Xe_fI7H2tUnLtnwe7fkI4wT0DBYetLkUWG2O_0KuoYM