Set Scene settings
Configures Scene settings
A total of 3 scenarios are available:
- Out
- Home
- Sleep Depending on each scenario, you can customize the logic of the triggering of certain loops.
- application/json
Request Body
zones object[]
List of zone settings. Range is 0-7
zone_id integer requiredPossible values:
<= 15
Zone number
scene_out boolean requiredDetermines whether the 'Out' scene is enabled for current zone
scene_home boolean requiredDetermines whether the 'Home' scene is enabled for current zone
scene_sleep boolean requiredDetermines whether the 'Sleep' scene is enabled for current zone
Responses
- 200
- 400
- 401
OK
- text/html
- Schema
Schema
- string
- Missed json body or wrong param.
Response sample:
"error": "Wrong JSON body"
- Required field is not provided.
Response sample:where
"error": "Wrong JSON body: no value for `param`"
param
- is a required field that was not provided - Field was of the wrong type.
Response sample:where
"error": "Wrong JSON body: value `param` was of the wrong type"
param
- is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Base
- Missed param
- Wrong param type
Schema
- error string
Error information
{
"error": true
}
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body: no value for `param`"
}
{
"error": "Wrong JSON body: value `param` was of the wrong type"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...