多协议接入 产品介绍 快速入门 用户指南 开发指南
接入地址 API返回码说明 EDP TCP透传 MQTT Modbus HTTP

查询设备订阅的topic

请求方式: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"
}

个搜索结果,搜索内容 “

    0 个搜索结果,搜索内容 “