For the complete documentation index, see llms.txt. This page is also available as Markdown.

Service Group

API to manage service groups.

List service group.

get

List all available service group resources.

Authorizations
hue-application-keystringRequired
Responses
200

ServiceGroup Success Response

application/json
get/clip/v2/resource/service_group
GET /clip/v2/resource/service_group HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Accept: */*
{
  "errors": [
    {
      "description": "text"
    }
  ],
  "data": [
    {
      "type": "light",
      "id": "3883f8bf-30a3-445b-ac06-b047d50599df",
      "id_v1": "/lights/8",
      "services": [
        {
          "rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
          "rtype": "device"
        }
      ]
    }
  ]
}

Get service group.

get

Get details of a single service group resource from its given {serviceGroupId}.

Authorizations
hue-application-keystringRequired
Path parameters
serviceGroupIdstringRequired

ID of the service group

Responses
200

ServiceGroup Success Response

application/json
get/clip/v2/resource/service_group/{serviceGroupId}
GET /clip/v2/resource/service_group/{serviceGroupId} HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Accept: */*
{
  "errors": [
    {
      "description": "text"
    }
  ],
  "data": [
    {
      "type": "light",
      "id": "3883f8bf-30a3-445b-ac06-b047d50599df",
      "id_v1": "/lights/8",
      "services": [
        {
          "rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
          "rtype": "device"
        }
      ]
    }
  ]
}

Update service group.

put

Update a single service group resource from its given {serviceGroupId}.

Authorizations
hue-application-keystringRequired
Path parameters
serviceGroupIdstringRequired

ID of the service group

Body
typestringOptional

Type of the supported resources (always service_group here)

Responses
200

Success

application/json
put/clip/v2/resource/service_group/{serviceGroupId}
PUT /clip/v2/resource/service_group/{serviceGroupId} HTTP/1.1
Host: 192.168.1.0
hue-application-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 92

{
  "type": "text",
  "services": [
    {
      "rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
      "rtype": "device"
    }
  ]
}
{
  "errors": [
    {
      "description": "text"
    }
  ],
  "data": [
    {
      "rid": "42edd1f5-9538-4180-9ced-2d9e07f26d0f",
      "rtype": "device"
    }
  ]
}

Last updated

Was this helpful?