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
Default value:
false
- trigger_events string[] required
Possible values: [
access_denied_by_not_valid_identifier
,access_denied_by_not_valid_face_identifier
,access_denied_by_not_valid_input_code
,access_denied_by_remote_server_api_call
,access_denied_by_unknown_card
,access_granted_by_api_call
,access_granted_by_call_host
,access_granted_by_master_code
,access_granted_by_remote_server_api_call
,access_granted_by_valid_identifier
,access_granted_by_valid_face_identifier
,lock_was_opened_by_exit_btn
,lock_was_opened_by_free_access_button
,incoming_call
,outgoing_call
,successful_login_gui_settings
,incorrect_login_gui_settings
,tamper_event
,multi_access_granted
,identifiers_without_linkage_to_user_access_denied
,multi_access_denied
,access_denied_by_unknown_qr
,access_denied_unknown_identifier
,lift_call_success
,lift_call_error
,lift_module_access_error
]
- 200
- 400
- 401
- 403
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": 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": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}