Last Updated on : 2023-06-15 06:04:55
Query subspaces by level.
GET: /v1.0/iot-02/community/space-tree
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| block_id | String | query | true | The ID of a community. |
| meta_code | String | query | true | The space type.
|
| Parameter name | Type | Description |
|---|---|---|
| result | List | The list of subspaces. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| tree_id | String | The ID of a specified space node. |
| parent_tree_id | String | The ID of a specified parent node. |
| full_value | String | The full name. |
| value | String | The value. |
| meta_code | String | The space type. |
| children | List | The list of spaces. |
GET: /v1.0/iot-02/community/space-tree?block_id=137209008403933xxxx
{
"fullValue": "Building 1",
"metaCode": "building",
"treeId": "136767399153950xxxx",
"children": [
{
"fullValue": "0",
"metaCode": "unit",
"treeId": "136711399153950xxxx",
"parentTreeId": "136767399153950xxxx",
"value": "Unit 1"
}
],
"parentTreeId": "136767399153910xxxx",
"value": "Building 1"
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback