Last Updated on : 2023-06-20 15:17:40download
Get the detailed information of a specified device.
GET: /v1.0/iot-03/devices/{device_id}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| device_id | String | uri | true | Device ID |
| Parameter name | Type | Description |
|---|---|---|
| result | BaseDeviceRes |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| id | String | Device ID |
| uuid | String | Device UUID |
| category | String | Product category |
| name | String | Device name |
| product_id | String | Product ID |
| product_name | String | Product name |
| local_key | String | Secret key |
| sub | Boolean | Check whether it is a sub-device |
| asset_id | String | Asset ID |
| ip | String | The IP address of the device |
| lon | String | Longitude |
| lat | String | Latitude |
| model | String | Product model |
| time_zone | String | The time zone where the device is located |
| active_time | Long | The time when the device is activated |
| update_time | Long | The time when the device is updated |
| create_time | Long | The time when the device is paired for the first time |
| online | Boolean | Check whether the device is online |
GET: /v1.0/iot-03/devices/xxxxxx1
{
"result": {
"sub": false,
"create_time": 1575017570,
"local_key": "11d7f7286caa****",
"ip": "58.251.**.****",
"asset_id": "1160****",
"time_zone": "+08:00",
"product_name": "Wi-Fi smart speaker SS190",
"uuid": "12****",
"active_time": 1584063323,
"update_time": 1584939489,
"product_id": "i9vkzktd",
"name": "Wi-Fi smart speaker SS190",
"online": false,
"model": "SS190",
"id": "747b2165d9449964****",
"category": "znyxss"
},
"t": 1591872112140,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback