凭证类型下拉✅
GET
/api/v1/device_config/connect请求参数
Query 参数
device_id
string
设备 id
示例值:
5fd9b168-9e2a-d91c-a7c3-9c1f4d4b5137
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
AccessToken接入
string
必需
Basic
string
必需
示例
成功示例
{
"code": 200,
"message": "Get deviceconfig list successfully",
"data": {
"list": [
{
"id": "00db6263-082b-a38d-e8b9-624abff9c5b2",
"name": "xxxx",
"device_template_id": null,
"device_type": "1",
"protocol_type": "MQTT",
"voucher_type": "xxxx",
"protocol_config": "{\"aa\":1}",
"device_conn_type": null,
"additional_info": "{}",
"description": "xxxxxxxxxxxxxxxxxx",
"tenant_id": "2f4306df",
"created_at": "2024-03-07T15:16:50.696544Z",
"updated_at": "2024-03-07T15:16:50.696544Z",
"remark": null,
"device_count": 0
},
{
"id": "4a26a8da-b9d2-fc1c-18bb-90958b9aa273",
"name": "xxxx",
"device_template_id": null,
"device_type": "1",
"protocol_type": "MQTT",
"voucher_type": "xxxx",
"protocol_config": "{}",
"device_conn_type": null,
"additional_info": "{}",
"description": "xxxxxxxxxxxxxxxxxx",
"tenant_id": "2f4306df",
"created_at": "2024-03-07T15:37:08.142856Z",
"updated_at": "2024-03-07T15:37:08.142856Z",
"remark": null,
"device_count": 0
}
],
"total": 2
}
}
最后修改时间: 10 个月前