Last Updated on : 2024-06-29 01:00:18download
Send group properties based on the group ID. That is to say, send control instructions to the devices in the specified group.
POST: /v2.1/cloud/thing/group/{group_id}/properties
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
group_id | Long | path | true | The group ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
properties | String | body | true | The properties of the specified group, that is, a set of instructions. |
Parameter name | Type | Description |
---|---|---|
result | JsonObject | The returned result of the specified group. |
success | Boolean | Indicates whether the API is called successfully. Valid values:
|
t | Long | The timestamp. |
tid | String | The link ID. |
Description of result
Parameter name | Type | Description |
---|---|---|
result | Boolean | Indicates whether the operation is successful. Valid values:
|
POST: /v2.1/cloud/thing/group/1393****/properties
{
"properties": "{\"work_mode\":\"music\", \"switch_led\": true}"
}
{
"tid": "4ab1341e022111efbe7a366d87620758",
"result": {
"result": true
},
"t": 1713952748467,
"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