Get all root groups with their child groups
GET/api/v1/org/groups
Get all root groups with their child groups
Request
Responses
- 200
Returns root group IDs and a mapping of all groups by ID
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
roots string[]required
Array of group IDs (as strings) that are root nodes
groups
object
required
Map of group ID (as string) to ChildGroupDto
property name*
ChildGroupDto
id numberrequired
name string
description string
platforms string[]
groups number[]
parent number
platformDetails
object[]
Platform rows for this group (id, display name, device count), for the group-by-group view.
platformId stringrequired
Platform instance id.
name string
Platform display name (falls back to platformId when unknown).
deviceCount numberrequired
Number of devices that belong to this platform.
{
"roots": [
"string"
],
"groups": {}
}
Loading...