文档
测试

树状图

GET
/api/v1/device/typeTree

请求参数

参数名
类型
描述
必填
keyword
String
设备名称或通道名称
可选

响应参数

参数名
类型
描述
必填
code
int
状态
必填
data
String
数据列表
必填
id
string
示例:34020000001320000005
必填
name
string
示例:设备一
必填
children
array
数据列表
必填
id
string
示例:34020000001310000005
必填
name
string
示例:方讯技术1
必填
serial
string
示例:34020000001320000005
必填

说明 / 示例

示例 http://www.gbvue.com/api/v1/device/typeTree {"code":0,"data":[{"id":"34020000001320000005","name":"设备一","children":[{"id":"34020000001310000005","name":"方讯技术1","serial":"34020000001320000005"},{"id":"34020000001320000005","name":"IPC-HFW4436M-I2","serial":"34020000001320000005"}]},{"id":"34020000001320000006","name":"设备二"}]} {"code":"400","error":"当前设备列表为空"}