Http设备Api
Http设备的字段请查看字段说明
# 列表查询
接口说明
根据查询条件查询Http设备列表。
接口版本
v1接口地址
/api-web-v1/http-drives
请求方法
GET
请求参数
参数类型 | 参数名称 | 数据类型 | 是否必须 | 参数描述 | 默认 | 示例 |
---|---|---|---|---|---|---|
query | label | string | false | 模糊查询字段 | name | |
query | search | string | false | 模糊查询值 | 测试 | |
query | time | string | false | 时间范围查询字段,必须是设备字段中的时间或时间戳字段名,例如createdAt,updatedAt | createdAt | |
query | range | string[] or string | false | 时间范围,开始时间到结束时间,可以是string[]或者以逗号分割的开始时间到结束时间或时间戳 | 2019-10-22T00:00:00.000Z,2022-01-22T00:00:00.000Z | |
query | page | number | false | 分页第几页 | 1 | |
query | limit | number | false | 单页几条数据 | 10 | |
query | sort | string | false | 根据哪个字段排序 | _id | -createdAt |
query | select | string | false | 只查询部分字段,字段名之间用过空格分隔,去掉某个字段的查询字段名前面加- | ||
query | autopopulate | boolean | false | 自动关联数据,部分字段自动关联关系表查询,设置这个值可开关自动联表查询 | true | false |
query | populate | string | false | 指定关联表查询,查询多个关联表用逗号分隔 | checks,operates | |
query | hardwareWord | string | false | 指定设备字典 | 5ebe578fb64352001b1f3876 | |
query | depart | string | false | 层级 | _id | |
query | query['tags'] | string | false | 标签 | {$all:['空调']} |
请求参数举例
注意
GET请求所有参数类型都会变成string拼接在url上面,文档为了表述清晰,将示例结构以json格式编写
```json
{
"page":"1",
"limit":"2",
"sort":"-createdAt",
"autopopulate":"false"
}
```
// Make sure to add code blocks to your code group
返回参数
参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|
code | number | True | 是否成功 |
data | json | True | 返回数据 |
-total | number | False | Http设备总条数 |
-rows | array | False | 当前返回的Http设备对象列表 |
返回参数举例
{
"code": 0,
"data": {
"total": 67,
"rows": [
{
"status": 0,
"port": 80,
"line": true,
"tags": [],
"_id": "5e1be06a3239bc001dfdd10f",
"shortAddress": "1335870",
"name": "公司门禁",
"hardwareWord": "5df1fa7f3ae740001cc1315d",
"attribute": [],
"control": "5de7a052cb4761001b336e18",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2020-01-13T03:13:46.328Z",
"updatedAt": "2021-11-02T10:07:51.908Z",
"__v": 1,
"lineTime": "2020-10-30T08:57:55.958Z",
"uiModel": null,
"ip": "192.168.1.15",
"url": "http://192.168.1.15",
"line_status": 0,
"isRoot": false,
"id": "5e1be06a3239bc001dfdd10f"
},
{
"status": 0,
"port": 80,
"line": true,
"tags": [],
"_id": "5ffd65f3e31e59001dcae4d2",
"isRoot": false,
"name": "公司人脸wifi门禁",
"shortAddress": "1471753",
"ip": "192.168.1.120",
"hardwareWord": "5df1fa7f3ae740001cc1315d",
"attribute": [],
"control": "5de7a052cb4761001b336e18",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2021-01-12T09:03:47.402Z",
"updatedAt": "2022-03-28T22:58:31.907Z",
"__v": 1,
"url": "http://192.168.120",
"uiModel": null,
"lineTime": "2021-07-20T01:38:08.119Z",
"line_status": 0,
"deviceType": 1,
"id": "5ffd65f3e31e59001dcae4d2"
}
]
}
}
# 查询单个设备
接口说明
根据查询条件查询单个Http设备。
接口版本
v1接口地址
/api-web-v1/http-drives/one
请求方法
GET
请求参数
参数类型 | 参数名称 | 数据类型 | 是否必须 | 参数描述 | 默认 | 示例 |
---|---|---|---|---|---|---|
query | label | string | false | 模糊查询字段 | name | |
query | search | string | false | 模糊查询值 | 测试 | |
query | time | string | false | 时间范围查询字段,必须是设备字段中的时间或时间戳字段名,例如createdAt,updatedAt | createdAt | |
query | range | string[] or string | false | 时间范围,开始时间到结束时间,可以是string[]或者以逗号分割的开始时间到结束时间或时间戳 | 2019-10-22T00:00:00.000Z,2022-01-22T00:00:00.000Z | |
query | sort | string | false | 根据哪个字段排序 | _id | -createdAt |
query | select | string | false | 只查询部分字段,字段名之间用过空格分隔,去掉某个字段的查询字段名前面加- | ||
query | autopopulate | boolean | false | 自动关联数据,部分字段自动关联关系表查询,设置这个值可开关自动联表查询 | true | false |
query | populate | string | false | 指定关联表查询,查询多个关联表用逗号分隔 | checks,operates |
请求参数举例
注意
GET请求所有参数类型都会变成string拼接在url上面,文档为了表述清晰,将示例结构以json格式编写
```json
{
"sort":"-createdAt",
"autopopulate":"false"
}
```
// Make sure to add code blocks to your code group
返回参数
参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|
code | number | True | 是否成功 |
data | json | True | 返回数据 |
返回参数举例
{
"code": 0,
"data": {
"status": 0,
"port": 80,
"line": false,
"tags": [],
"_id": "624110879d99c6ca8b43df71",
"line_status": 0,
"name": "路灯2",
"shortAddress": "1",
"ip": "127.0.0.1",
"range": null,
"hardwareWord": "61d68885d0ab53551e5f24d7",
"attribute": [],
"control": "5e16dcdb7d3892001baabaca",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:33:59.016Z",
"updatedAt": "2022-03-28T01:33:59.016Z",
"__v": 0,
"id": "624110879d99c6ca8b43df71"
}
}
# 查询设备ID
接口说明
根据设备ID查询设备
接口版本
v1接口地址
/api-v1/http-drives/:id
请求方法
GET
请求参数
参数类型 | 参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|---|
params | id | string | True | Http设备ID |
请求参数举例
注意
GET请求所有参数类型都会拼接在url上面,文档为了表述清晰,将示例结构以json格式编写
{"_id":"624110879d99c6ca8b43df71"}
返回参数
参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|
code | number | True | 是否成功 |
data | json | false | 返回设备信息 |
返回参数举例
{
"code": 0,
"data": {
"status": 0,
"port": 80,
"line": false,
"tags": [],
"_id": "624110879d99c6ca8b43df71",
"line_status": 0,
"name": "路灯2",
"shortAddress": "1",
"ip": "127.0.0.1",
"range": null,
"hardwareWord": "61d68885d0ab53551e5f24d7",
"attribute": [],
"control": "5e16dcdb7d3892001baabaca",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:33:59.016Z",
"updatedAt": "2022-03-28T01:33:59.016Z",
"__v": 0,
"id": "624110879d99c6ca8b43df71"
}
}
# 查询设备ID+检测器控制器
接口说明
根据设备ID查询设备并且会将设备下的检测器和控制器放入设备信息
接口版本
v1接口地址
/api-v1/http-drives/:id/full
请求方法
GET
请求参数
参数类型 | 参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|---|
params | id | string | True | Http设备ID |
请求参数举例
注意
GET请求所有参数类型都会拼接在url上面,文档为了表述清晰,将示例结构以json格式编写
{"_id":"624110879d99c6ca8b43df71"}
返回参数
参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|
code | number | True | 是否成功 |
data | json | false | 返回设备信息 |
返回参数举例
{
"code": 0,
"data": {
"status": 0,
"port": 80,
"line": false,
"tags": [],
"_id": "624110879d99c6ca8b43df71",
"line_status": 0,
"name": "路灯2",
"shortAddress": "1",
"ip": "127.0.0.1",
"range": null,
"hardwareWord": "61d68885d0ab53551e5f24d7",
"attribute": [],
"control": "5e16dcdb7d3892001baabaca",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:33:59.016Z",
"updatedAt": "2022-03-28T01:33:59.016Z",
"__v": 0,
"checks": [
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "624110879d99c6962c43df74",
"name": "在离线状态",
"sort": 11,
"company": null,
"icon": null,
"interval": "[[\"在线\", \"设备离线\", \"本地平台离线\"], [1, 2, 3]]",
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "lineStatus",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:33:59.239Z",
"updatedAt": "2022-03-28T01:33:59.239Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "624110879d99c6727443df77",
"name": "辅灯亮灭情况",
"sort": 8,
"company": null,
"icon": null,
"interval": "[[\"开启\", \"关闭\"], [1, 0]]",
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "auxLightStatus",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:33:59.483Z",
"updatedAt": "2022-03-28T01:33:59.483Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "624110879d99c684c343df7a",
"name": "主灯亮灭情况",
"sort": 7,
"company": null,
"icon": null,
"interval": "[[\"开启\", \"关闭\"], [1, 0]]",
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "mainLightStatus",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:33:59.683Z",
"updatedAt": "2022-03-28T01:33:59.683Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "624110889d99c6111443df7d",
"name": "主灯亮度",
"sort": 5,
"company": null,
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "mainLightBright",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:00.040Z",
"updatedAt": "2022-03-28T01:34:00.040Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "624110889d99c6e18543df80",
"name": "辅灯亮度",
"sort": 6,
"company": null,
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "auxLightBright",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:00.583Z",
"updatedAt": "2022-03-28T01:34:00.583Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{\"showValueType\": \"valueStr\"}",
"_id": "624110899d99c671ff43df83",
"name": "名称",
"sort": 7,
"company": null,
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "name",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:01.085Z",
"updatedAt": "2022-03-28T01:34:01.085Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{\"showValueType\": \"valueStr\"}",
"_id": "624110899d99c6266043df86",
"name": "地址",
"sort": 1,
"company": null,
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "address",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:01.735Z",
"updatedAt": "2022-03-28T01:34:01.735Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{\"showValueType\": \"valueStr\"}",
"_id": "6241108a9d99c66b1343df89",
"name": "经度",
"sort": 3,
"company": null,
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "lon",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:02.484Z",
"updatedAt": "2022-03-28T01:34:02.484Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{\"showValueType\": \"valueStr\"}",
"_id": "6241108b9d99c614be43df8d",
"name": "纬度",
"sort": 2,
"company": null,
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "lat",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:03.334Z",
"updatedAt": "2022-03-28T01:34:03.334Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "6241108c9d99c6b65743df90",
"name": "亮灯时长",
"sort": 9,
"company": "分钟",
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "brightTime",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:04.035Z",
"updatedAt": "2022-03-28T01:34:04.035Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "6241108c9d99c6e52d43df93",
"name": "今日用电量",
"sort": 10,
"company": "w",
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "energy",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:04.584Z",
"updatedAt": "2022-03-28T01:34:04.584Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "6241108d9d99c6328243df96",
"name": "当前功率",
"sort": 4,
"company": "w",
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "power",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:05.283Z",
"updatedAt": "2022-03-28T01:34:05.283Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"boardConfigStr": "{}",
"_id": "6241108d9d99c631e343df99",
"name": "额定功率",
"sort": 5,
"company": "w",
"icon": null,
"interval": null,
"rosterName": null,
"precision": null,
"canRead": true,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "ratedPower",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:05.638Z",
"updatedAt": "2022-03-28T01:34:05.638Z",
"__v": 0
}
],
"operates": [
{
"line": false,
"value": null,
"valueStr": null,
"_id": "6241108e54eecfb2e8f16b38",
"name": "主辅灯开关",
"icon": null,
"uiTemplate": null,
"uiModel": null,
"interval": "[[\"开启\",\"关闭\"],[1,0]]",
"sort": null,
"canRead": false,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "totalSwitch",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:06.187Z",
"updatedAt": "2022-03-28T01:34:06.187Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"_id": "6241108e54eecf6652f16b3b",
"name": "辅灯开关",
"icon": null,
"uiTemplate": null,
"uiModel": null,
"interval": "[[\"开启\",\"关闭\"],[1,0]]",
"sort": null,
"canRead": false,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "auxSwitch",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:06.684Z",
"updatedAt": "2022-03-28T01:34:06.684Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"_id": "6241108f54eecf2f74f16b3e",
"name": "主灯开关",
"icon": null,
"uiTemplate": null,
"uiModel": null,
"interval": "[[\"开启\",\"关闭\"],[1,0]]",
"sort": null,
"canRead": false,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "mainSwitch",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:07.138Z",
"updatedAt": "2022-03-28T01:34:07.138Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"_id": "6241108f54eecf1feef16b41",
"name": "辅灯调光",
"icon": null,
"uiTemplate": null,
"uiModel": null,
"interval": "[[\"调光20\",\"调光40\",\"调光60\",\"调光80\",\"调光100\"],[20,40,60,80,100]]",
"sort": null,
"canRead": false,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "auxBright",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:07.736Z",
"updatedAt": "2022-03-28T01:34:07.736Z",
"__v": 0
},
{
"line": false,
"value": null,
"valueStr": null,
"_id": "6241109054eecf9708f16b44",
"name": "主灯调光",
"icon": null,
"uiTemplate": null,
"uiModel": null,
"interval": "[[\"调光20\",\"调光40\",\"调光60\",\"调光80\",\"调光100\"],[20,40,60,80,100]]",
"sort": null,
"canRead": false,
"control": "5e16dcdb7d3892001baabaca",
"shortAddress": "mainBright",
"parentName": "HttpDrive",
"parent": "624110879d99c6ca8b43df71",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-28T01:34:08.334Z",
"updatedAt": "2022-03-28T01:34:08.334Z",
"__v": 0
}
],
"id": "624110879d99c6ca8b43df71"
}
}
# 新建
接口说明
新建一个Http设备。第三方不建议直接调用Http设备新建接口,此接口创建需实际设备。
接口版本
v1接口地址
/api-v1/http-drives
请求方法
POST
请求参数
参数类型 | 参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|---|
body | - | Object | True | Http设备对象字段说明 |
请求参数举例
{
"name":"测试设备",
"shortAddress":"001",
"control": "5e16dcdb7d3892001baabaca",
"hardwareWord":"61d68885d0ab53551e5f24d7"
}
// Make sure to add code blocks to your code group
返回参数
参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|
code | number | True | 是否成功 |
data | json | True | 返回创建的对象 |
返回参数举例
{
"code": 0,
"data": {
"tags": [],
"_id": "5daf1060113f3a001bbe801d",
"control": "5e16dcdb7d3892001baabaca",
"hardwareWord": "61d68885d0ab53551e5f24d7",
"shortAddress": "001",
"name": "测试设备",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-15T14:58:47.901Z",
"updatedAt": "2022-03-15T14:58:47.901Z",
"__v": 0,
"line": false,
"id": "5daf1060113f3a001bbe801d"
}
}
第三方不建议直接调用Http设备新建接口,此接口创建需实际设备。文档不提供新增在线调试
# 编辑
接口说明
修改Http设备。第三方不建议直接调用Http设备修改接口,此接口使用需实际设备。
接口版本
v1接口地址
/api-v1/http-drives/:id
请求方法
PUT
请求参数
参数类型 | 参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|---|
params | id | string | True | 修改的Http设备ID |
body | - | Object | True | Http设备对象字段说明 |
请求参数举例
{
"id":"5daf1060113f3a001bbe801d",
"name":"测试设备修改"
}
// Make sure to add code blocks to your code group
返回参数
参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|
code | number | True | 是否成功 |
data | json | True | 返回创建的对象 |
返回参数举例
{
"code": 0,
"data": {
"tags": [],
"_id": "5daf1060113f3a001bbe801d",
"control": "5e16dcdb7d3892001baabaca",
"hardwareWord": "61d68885d0ab53551e5f24d7",
"shortAddress": "001",
"name": "测试设备修改",
"creator": "5da994550dc418001b95d36f",
"createdAt": "2022-03-15T14:59:47.901Z",
"updatedAt": "2022-03-15T14:58:47.901Z",
"__v": 0,
"line": false,
"id": "5daf1060113f3a001bbe801d"
}
}
第三方不建议直接调用Http设备修改接口,此接口修改需实际设备。文档不提供修改在线调试
# 删除
接口说明
删除一个Http设备。第三方不建议直接调用Http设备删除接口,此接口需实际设备。
接口版本
v1接口地址
/api-v1/http-drives/:id
请求方法
DELETE
请求参数
参数类型 | 参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|---|
params | id | string | True | 删除的Http设备ID |
请求参数举例
只需发送删除设备的ID
返回参数
参数名称 | 数据类型 | 是否必须 | 参数描述 |
---|---|---|---|
code | number | True | 是否成功 |
message | string | false | 成功删除返回complete |
返回参数举例
{
"code": 0,
"message": "complete"
}
第三方不建议直接调用Http设备删除接口,此接口需实际设备。文档不提供删除在线调试