Get device details
HTTP Request URL: http(s)://api.thingboot.com/{AppID}/device/info/?sign={sign}&ts={ts}
About the sign and ts definition
Or
MQTT Publish Topic: api/{AppID}/device/info
The returned results are also received on the same topic.
Request parameters
GET|POST|JSON methods are all valid
| Name | Required | Type | Description |
|---|---|---|---|
| device | Yes | string | Device ID, supports tags for managing multiple devices at once. For multiple device IDs, please separate them using a delimiter (, or |), e.g., 1002,1005 |
Return results
| Name | Type | Description |
|---|---|---|
| data | string | When multiple device IDs are provided, return a JSON array;
when only one device ID is provided, return a JSON object. |
| code | int | Return the status code: 200 indicates success; for other errors, please refer to the "Global Error Codes" section on the API homepage. |
| msg | string | Return status information |
Return example