请求方式:GET
URL: http://api.heclouds.com/mqtt/device_topic/device_id
device_id:需要替换为设备ID
参数名称 | 格式 | 说明 |
---|---|---|
errno | int | 调用错误码,为0表示调用成功 |
error | string | 错误描述,为"succ"表示调用成功 |
data | array-string | topic列表 |
GET http://api.heclouds.com/mqtt/device_topic/39587277 HTTP/1.1
{
"errno": 0,
"data": ["topic/test/01", "topic/test/02"],
"error": "succ"
}