Set list of events which can be used to trigger sending photo from camera to Link
Set list of events which can be used to trigger sending photo from camera to Link
- application/json
Request Body required
- enabled boolean required
Determines whether the feature is enabled
- trigger_events string[] required
Possible values: [
access_denied_by_not_valid_identifier
,access_denied_by_not_valid_input_code
,access_denied_by_remote_server_api_call
,access_denied_by_unknown_card
,access_denied_unknown_identifier
,access_granted_by_valid_identifier
,access_granted_by_master_code
,access_granted_by_api_call
,access_granted_by_call_host
,access_granted_by_remote_server_api_call
,access_denied_by_unknown_qr
,lock_was_opened_by_exit_btn
,tamper_event
,outgoing_call
,incoming_call
]List of log names
- 200
- 400
- 401
OK
- Event list cannot be empty
- Bad event:
event
Response sample:
"error": "Bad event: `event`"
where event
- wrong log name
- Missed json body or wrong param. Response sample:
"error": "Wrong JSON body"
- Required field is not provided. Response sample:
"error": "Wrong JSON body: no value for `param`"
where param
- is a required field that was not provided
- Field was of the wrong type. Response sample:
"error": "Wrong JSON body: value `param` was of the wrong type"
where param
- is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Empty event list
- Bad event
- Base
- No value
- Wrong param type
Schema
- error string
error type/info
{
"error": true
}
{
"error": "Event list cannot be empty"
}
{
"error": "Bad event: `event`"
}
{
"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 message
{
"error": "Log In"
}
{
"error": "Log In"
}