請求方式:GET
URL: http://api.onenet.hk.chinamobile.com/mqtt/device_topic/device_id
device_id:需要替換為設備lD
參數名稱 | 格式 | 說明 |
---|---|---|
errno | int | 調用錯誤碼,為0表示調用成功 |
error | string | 錯誤描述,為“succ”表示調用成功 |
data | array-string | topic列表 |
GET http://api.onenet.hk.chinamobile.com/mqtt/device_topic/39587277 HTTP/1.1
{
"errno": 0,
"data": ["topic/test/01", "topic/test/02"],
"error": "succ"
}