Last Updated on : 2022-11-11 03:43:37
Execute a specified device capability based on the device ID and capability code.
POST: /v1.0/iot-03/devices/{device_id}/capabilities/{capability_code}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
capability_code | String | uri | true | The code of a specified capability. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
value | Object | true | The command value. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The execution result. |
POST: /v1.0/iot-03/devices/64***dz/capabilities/bright_value
{
"result": true,
"t": 1644547712457,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback