Last Updated on : 2024-09-10 01:49:15
Get the details of the specified group based on the group ID.
GET: /v2.0/cloud/thing/group/{group_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
group_id | Long | path | true | The ID of the specified group. |
Parameter name | Type | Description |
---|---|---|
result | JSON | The returned result of the specified group. |
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 | Long | The ID of the specified group. |
name | String | The name of the specified group. |
pv | String | The version number of the specified MQTT protocol. |
time | Long | The time when a group is created. |
type | Integer | The type of the specified group. Valid values:
|
uid | String | The ID of a user in the specified group. |
group_type | Integer | The protocol type applicable to the specified group. Valid values:
|
icon_url | String | The picture of the specified group. A product picture is used by default. Currently, you cannot change the product picture. |
local_key | String | The localKey used for the MQTT connection. |
owner_id | String | The ID of the space to which the specified group belongs. |
product_id | String | The ID of a product in the group. |
GET: /v2.0/cloud/thing/group/1285***7
{
"result": {
"category": "",
"dev_id": "",
"device_num": 1,
"dp_name": {
"1": "",
"9": ""
},
"dps": {
"1": false,
"9": 0
},
"group_key": "",
"group_type": 0,
"iconUrl": "https://images.tuyacn.com/smart/solution/15001/66ba22c327bfbf3d_co***.png",
"id": "1285****"
"local_key": "360f7d71088c***",
"name": "Test****",
"owner_id": "251*****",
"product_id": "fqi9xqld***",
"pv": "2.2",
"standard": false,
"time": 1677117998,
"type": 0,
"uid": "ay159910362*****"
},
"success": true,
"t": 1677118783681,
"tid": "88f0c69eb32011edaa2fba12a1143bd9"
}
For more information, see error code.
For more information, see Limits on API Request Frequency.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback