Skip to main content

Get all root groups with their child groups

GET 

/api/v1/org/groups

Get all root groups with their child groups

Request

Responses

Returns root group IDs and a mapping of all groups by ID

Schema

    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.

  • Array [

  • 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.

  • ]

Loading...