Get fire alarm input interface settings
Returns fire alarm input interface settings
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
- is_enabled boolean
If input interface enabled, device reacts on interface input signal
- relays integer[]
Set of relays switched when interface input signal received
- duration integer
Possible values:
<= 86400000Time for which the relay will be switch on(millisecond)
- normally_closed boolean
Describes sensor in idle state
- reboot_state string
Possible values: [
keep,reset]State of relays after reboot in case alarm was fired before
- available_relays integer[]
Set of relays available for switching when alarm fired
- is_active boolean
Current status of fire alarm input interface
{
"is_enabled": true,
"relays": [
1,
2,
3,
4
],
"duration": 1000,
"normally_closed": false,
"reboot_state": "keep",
"available_relays": [
1,
2,
3,
4
],
"is_active": false
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
Error object, contains error details
code stringPossible values: [
invalid_authentication,permission_denied,not_valid,system_error,bad_request,connection_timeout]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 stringContains validation error details
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Invalid authentication"
}
}