GroupedLightService
A list of all methods in the GroupedLightService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
GetGroupedLightsAsync | List all grouped lights |
GetGroupedLightAsync | Get details of a single grouped light from its given {groupedLightId} . |
UpdateGroupedLightAsync | Update a single grouped light from its given {groupedLightId} . |
GetGroupedLightsAsync
List all grouped lights
- HTTP Method:
GET
- Endpoint:
/clip/v2/resource/grouped_light
Return Type
GetGroupedLightsOkResponse
Example Usage Code Snippet
using OpenHue;
var client = new OpenHueClient();
var response = await client.GroupedLight.GetGroupedLightsAsync();
Console.WriteLine(response);
GetGroupedLightAsync
Get details of a single grouped light from its given {groupedLightId}
.
- HTTP Method:
GET
- Endpoint:
/clip/v2/resource/grouped_light/{groupedLightId}
Parameters
Name | Type | Required | Description |
---|---|---|---|
groupedLightId | string | ✅ | ID of the grouped light |
Return Type
GetGroupedLightOkResponse
Example Usage Code Snippet
using OpenHue;
var client = new OpenHueClient();
var response = await client.GroupedLight.GetGroupedLightAsync("groupedLightId");
Console.WriteLine(response);
UpdateGroupedLightAsync
Update a single grouped light from its given {groupedLightId}
.
- HTTP Method:
PUT
- Endpoint:
/clip/v2/resource/grouped_light/{groupedLightId}
Parameters
Name | Type | Required | Description |
---|---|---|---|
input | GroupedLightPut | ❌ | The request body. |
groupedLightId | string | ✅ | ID of the light |
Return Type
UpdateGroupedLightOkResponse
Example Usage Code Snippet
using OpenHue;
using OpenHue.Models;
var client = new OpenHueClient();
var input = new GroupedLightPut();
var response = await client.GroupedLight.UpdateGroupedLightAsync(input, "groupedLightId");
Console.WriteLine(response);
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs