Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Show manage device groups

Hui Jiang edited this page Jun 27, 2017 · 2 revisions

The UI gets the list of groups from the UI Configuration API. Each group has an ID, a Name and a Query needed to retrieve devices from IoT Hub Manager.

Request

GET {UI Config endpoint}/device-groups

Response

Content-Type: application/json; charset=utf-8

{
    Count: ...
    Items: [
        {
            id
            name
            query
            $metadata
        },
        {
            id
            name
            query
            $metadata
        },
        ...
    ],
    "$metadata": {
        $type: DeviceGroupsList;1
        $uri: ...
    }
}