I am attempting to create groups using hue api using the following request:
Endpoint : /api/<userid>/groups
Method: POST
Params: {"name":"Test creation", "lights":["2","3"]}
I get the following response:
[{"success": {"id": "/groups/6"}}]
However when I call:
Endpoint : /api/<userid>/groups/6
Method: GET
I get this:
{"action": {"on": false,"effect": "none"},"lights": [],"name": "Test creation 2"}
It appears that the lights are not being set. I have not seen anywhere else to set the group members. I don't get an error just a blank array.
How do you properly set group members?