Last Updated on : 2024-09-10 01:49:15
Store the command of sending device properties in the cloud. When the device is woken up or goes online, the command is sent from the cloud to the device. Currently, this feature is only available for some low-power devices.
POST: /v2.0/cloud/thing/{device_id}/shadow/properties/desired
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | path | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
properties | String | body | true | The properties supported by the device and the property value set. |
duration | Long | body | true | The validity period of the specified desired property value. |
Parameter name | Type | Description |
---|---|---|
result | JSON | The returned data. |
success | Boolean | Indicates whether the operation is successful. Valid values:
|
t | Long | The timestamp. |
tid | String | The link ID. |
POST: /v2.0/cloud/thing/vdevo1638******/shadow/properties/desired
{
"properties": {
"switch_1": true
},
"duration": 1000
}
{
"tid": "77a9807fb74411edb9d75a827c79edfd",
"result": {
},
"t": 1677574021435,
"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