Last Updated on : 2024-09-10 01:49:17
Based on the device ID, query the details of the specified device.
GET: /v2.0/cloud/thing/{device_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | path | true | The device ID. |
Parameter name | Type | Description |
---|---|---|
result | DeviceFusionVO | The list of returned data. |
success | Boolean | Indicates whether the operation is successful. Valid values:
|
t | Long | The timestamp. |
tid | String | The link ID. |
Description of result
Parameter name | Type | Description |
---|---|---|
id | String | The device ID. |
active_time | Long | The time when the specified device is activated, which is accurate to seconds. |
category | String | The product category of the specified device. |
create_time | Long | The time when the specified device is first paired, which is accurate to seconds. |
update_time | Long | The time when the specified device is updated, which is accurate to seconds. |
custom_name | String | The custom name of the specified device. |
icon | String | The icon of the specified device. |
ip | String | The IP address of the specified device. |
is_online | Boolean | Indicates whether the specified device is online. |
lat | String | The latitude of the specified device. |
local_key | String | The unique encrypted key of the specified device over LAN. |
lon | String | The longitude of the specified device. |
name | String | The name of the specified device. |
product_id | String | The product ID of the specified device. |
product_name | String | The product name of the specified device. |
sub | Boolean | Indicates whether the specified device is a sub-device. |
time_zone | String | The time zone in which the specified device is located. |
uuid | String | The universally unique identifier (UUID) of the specified device. |
GET: /v2.0/cloud/thing/vdevo165abcd98***
{
"tid": "cdd94127b8d911edb9d75a827c79edfd",
"result": {
"sub": false,
"create_time": 1659422574,
"local_key": "06abcd1e5fc4***",
"ip": "100.90.34.***",
"icon": "smart/icon/baydffaa6539efg/a6cdd065abcde3bfb689152eda***.png",
"lon": "20.0641",
"time_zone": "+8.0",
"product_name": "Robot Vacuum A001",
"uuid": "vdevo165abcd98***",
"active_time": 1659422574,
"update_time": 1659422574,
"custom_name": "Robot Vacuum in Living Room",
"product_id": "h9sabcugftb***",
"name": "Robot Vacuum-vdevo",
"id": "vdevo165abcd98***",
"is_online": true,
"category": "cz",
"lat": "50.3029"
},
"t": 1677748119016,
"success": true
}
For more information, see error code.
For more information, see Limits on API Request Frequency.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback