scenes
Api reference content
post/api/scenes
Creates a new scene.
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 |
---|---|
201 | Response in headers ["x-aip-id"] |
400 | application/json { "errors": "[string]" } |