Get security scene status and scenes list
Get security scene status and scenes list
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- scene string
Possible values: [
off
,home
,out
,sleep
]Model describing security scene
- scenes_list string[]
Possible values: [
off
,home
,out
,sleep
]Available scenes list
{
"scene": "off",
"scenes_list": [
"off",
"home",
"out",
"sleep"
]
}
{
"scene": "off",
"scenes_list": [
"off",
"home",
"out",
"sleep"
]
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
code stringPossible values: [
invalid_authentification
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param string
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentification",
"message": "Log In"
}
}
Loading...