Get a list of device groups the user has created and all devices and device groups under them, recursively
GET /v1/devicegroup/treenode/list
Summary
Get a list of device groups the user has created and all devices and device groups under them, recursively.
Authentication
No operation-level security requirement is documented here.
Parameters
None documented here.
Request Body
No request body is documented here.
Responses
200
Success
application/json
- array of
TreeNodetitle(string, optional)key(string, optional)isLeaf(boolean, optional)selectable(boolean, optional)children(array<TreeNode>, optional)- array of
TreeNodeTreeNode
- array of
Example
[
{
"title": "Example value",
"key": "Example value",
"isLeaf": true,
"selectable": true,
"children": [
{
"title": null,
"key": null,
"isLeaf": null,
"selectable": null,
"children": null
}
]
}
]