scenes
Api reference content
put/api/scenes/{sceneId}
Updates an existing scene.
Parameters
Parameter | Place | Required | Description |
---|---|---|---|
sceneId | path | required |
Request body
Content type | Schema |
---|---|
application/json | { "name": "string", "start_at": "double", "days_of_week": "string", "date_range": { "to": "date-time", "from": "date-time" }, "actions": { "leave_channel": [ { "devices": "[string]" } ], "join_emitter_channel": [ { "emitter": "string", "devices": "[string]" } ], "join_local_channel": [ { "channel_id": "string", "devices": "[string]" } ], "change_volume": [ { "volume": "double", "devices": "[string]" } ] } } |
Responses
Status | Description |
---|---|
204 | |
400 | application/json { "errors": "[string]" } |
404 |