HTTP Request URL: http(s)://api.thingboot.com/{AppID}/device/config/?sign={sign}&ts={ts}
About the sign and ts definition
Or
MQTT Publish Topic: api/{AppID}/device/config
The returned results are also received on the same topic.
Request parameters
GET request;https://api.yoyoiot.cn/{{appid}}/device/config/?device={{device_id}}&type={{type}}&sign={{sign}}&ts={{ts}}
| Name | Type | Description |
|---|---|---|
| device | int | device id |
| type | string | type: Basic Info:basic, Device Config:device, Network Config:network, Working Mode:mode |
Return results
| Name | Type | Description |
|---|---|---|
| msg | string | Return status information |
| code | string | Return the status code: 200 indicates success; for other errors, please refer to the "Global Error Codes" section on the API homepage. |
| data | string | When multiple device IDs are provided, return a JSON array;
when only one device ID is provided, return a JSON object. |
Return example