Skip to main content

Get logs list

Get logs list. Available events:

Access

  • access_denied_by_not_valid_identifier
  • access_denied_by_not_valid_input_code
  • access_denied_by_remote_server_api_call
  • access_denied_by_web_api_call
  • access_denied_by_unknown_card
  • 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
  • lock_was_opened_by_exit_btn
  • access_denied_by_unknown_qr_code
  • lock_is_opened_too_long
  • door_sensor_was_closed
  • door_sensor_was_opened

Info

  • outgoing_call
  • incoming_call
  • lock_is_opened_too_long

System

  • successful_login_api_call
  • incorrect_login_api_call
Query Parameters
  • locale string

    Possible values: [en, ru, uk]

    Language for localizing logs. Value by default is 'en'

  • from integer

    Unix time

  • to integer

    Unix time

  • limit integer required

    Possible values: [10, 20, 30, 50]

    Default value: 10

    Number of items. Value by default is 10

  • page_number integer required

    Possible values: >= 1

    Default value: 1

    Page number

  • order_by string

    sorting expression:

    [field name 1], [field name 2]... <order (asc or desc)>

  • filter string

    Filtering expression:

    [field name] [compare operator] [value] <logical operator>...

    field namesee the list of available fields in filter.available_fields[].field_name
    valuesee the list of available values in filter.available_fields[].options object, may be missing
    compare operatorsee the list of available operators in filter.available_fields[].compare_operators array
    Compare operatorsDescriptionExample
    eqEqualname eq 'Sherlock Holmes'
    gtGreater thanbuilding gt 10
    ltLess thanbuilding lt 10
    nqNot equalname nq 'Sherlock Holmes'
    geGreater than or equalfloor ge 5
    leLess than or equalfloor le 5
    Logical operators
    andlogical ANDfloor le 10 and floor gt 3
    orlogical ORfloor le 3 or floor gt 10
    notlogical NOTnot floor le 3
    group operations
    ()group by priority(name eq 'Sherlock Holmes' or building eq 221) and floor gt 10
Responses

OK


Schema
  • list_option object

    The model provides options can be used to sort, filter, and paginate log items

  • pagination object

    Available pagination options for tables

  • total_items integer

    The total number of items found and reflected across all pages

  • items_limit integer

    Possible values: [10, 20, 25, 30, 40, 50]

    Limiting the display of the amount of data for one page

  • total_pages integer

    The number of pages that hold the requested data

  • current_page integer

    Possible values: >= 1

    Current page number

  • filter object

    Available fields

    field namecompare operatorstypevalues
    eventeq, nqstringsee GET /log/items
    categoryeq, nqstringaccess, emergency, system, info
    priorityeq, nqstringlow, medium, high, critical
    timestampeq, nq, lt, gt, ge, letimestampin milliseconds
  • available_filtering boolean

    is filtering available

  • is_filtered boolean

    is filter applied

  • available_fields object[]

    list of fields available to filter by

  • field_name string
  • compare_operators string[]

    Possible values: [eq, gt, lt, nq, ge, le]

  • data_type string

    Possible values: [string, integer, timestamp]

  • options object
    anyOf

  • available_values object[]

    Possible values: >= 1

    This model provide filter available values

  • sort object

    This model describes available sort options can be used to display logs

  • is_sorted boolean

    Direction of sorting

  • order string

    Possible values: [asc, desc]

    sorting order asc - ascending, desc - descending

  • available_fields string[]

    Possible values: [date]

    Available for sorting fields names

  • locale object

    This model describes available languages can be used to display logs

  • locale string

    Possible values: [en, es, ru, uk]

    Default value: en

    locale for logs

  • available_locales string[]

    Possible values: [en, es, ru, uk]

    list of available locales for logs

  • list_items object[]

    list of logs

  • timestamp int64

    Unix Timestamp Date

  • category string

    Possible values: [access, emergency, system, info]

    to which event category this log is related

  • priority string

    priority of event

  • name object

    name of event

  • key string

    filter key

  • localized string

    localized text of log

  • info object

    This model provides detailed information about log event

  • model object

    Represents log event raw data

    anyOf

  • account_type string

    Possible values: [admin]

    account role that affects permissions

  • localized string

    log translated to chosen language

  • requestor string

    Possible values: [web_ui, link_app, link_server, link_guest_url, api]

    Requestor

  • account_type string

    Account type

Loading...