网络设备列表
开发中
GET
https://api.flashcat.cloud/api/n9e-plus/network-devices
最后修改时间:2025-01-16 06:31:51
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e-plus/network-devices?snmp_tpl_ids=1&target_ids=1&query=swith001&disabled=1&gids=1,2&order=ip&desc=false&sys_desc=CISCO 7500'
响应示例响应示例
{
"dat": {
"list": [
{
"id": 0,
"ip": "string",
"dc": "string",
"tags": [
"string"
],
"board_url": "string",
"note": "string",
"collect_disabled": 0,
"target_idents": [
"string"
],
"snmp_tpl_ids": [
0
],
"group_id": 0,
"snmp_version": 0,
"snmp_schema": "string",
"snmp_port": 0,
"snmp_timeout": 0,
"auth": {
"sec_name": "string",
"auth_password": "string",
"auth_proto": "string",
"sec_level": "string",
"context_name": "string",
"priv_proto": "string",
"priv_password": "string"
},
"create_at": 0,
"create_by": "string",
"update_at": 0,
"update_by": "string",
"sys_name": "string",
"sys_desc": "string",
"sys_uptime": "string",
"sys_location": "string",
"custom_thresholds": [
{
"threshold": {
"string": 0
},
"labels": {
"string": "string"
}
}
],
"custom_thresholds_tables": [
[
{
"threshold": {
"string": 0
},
"labels": {
"string": "string"
}
}
]
]
}
],
"total": 0
},
"err": "string"
}
请求参数
Query 参数
snmp_tpl_ids
string
可选
示例值:
1
target_ids
string
可选
示例值:
1
query
string
可选
示例值:
swith001
disabled
integer
可选
示例值:
1
gids
string
不传表示查看全部
示例值:
1,2
order
string
可选
示例值:
ip
desc
string
可选
示例值:
false
sys_desc
string
可选
示例值:
CISCO 7500