Last Updated on : 2024-09-26 02:09:27download
Get the device state based on the device ID.
GET: /v2.0/cloud/thing/{device_id}/state
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | path | true | The device ID. |
Parameter name | Type | Description |
---|---|---|
result | DeviceStateRes | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
state | Integer | The device state.
|
GET: /v2.0/cloud/thing/vdevo16*********15/state
{
"tid": "b8a2b49abbbc11eda71e169efc83a172",
"result": {
"state": 0
},
"t": 1678065474602,
"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