Skip to main content

Get Access rules list

Returns Access rules list

Query Parameters
  • limit integer required

    Possible values: <= 1000

    Number of items. Value by default is 10

  • page_number integer required

    Possible values: >= 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
  • options object

    This model provides the options can be used to sort, filter and pagination when getting list of entities

  • 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: <= 1000

    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

    Specified filtering options for the requested dataset

  • available_filtering boolean

    Determines if filtering is available for this dataset

  • is_filtered boolean

    Describes if this dataset is filtered

  • available_fields object[]

    List of fields available for filtering

  • field_name string

    Name of the field used for filtering

  • compare_operators string[]

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

    Set of filter operators available for this field

  • data_type string

    Possible values: [string, integer, timestamp]

    Describes data type of the field

  • options object

    Extra settings of the field

    anyOf

  • available_values object[]

    This model provide filter available values, data type of values depends on field data type

  • sort object

    Describes current sorting information and list of the dataset fields available for sorting

  • is_sorted boolean

    Direction of sorting

  • order string

    Possible values: [asc, desc]

    Direction of applied sorting, true is ascending, false is descending

  • available_fields string[]

    List of the dataset fields available for sorting

  • items object[]

    List of Access rules

  • id integer

    Possible values: >= -1

    UID for entities references. If value is -1, then it means that is no entity reference for this structure

  • link_id object

    Unique entity set by the server to bind some parameters with each other

  • name string

    Possible values: <= 100 characters

    Name of access rule entity

  • description string

    Possible values: <= 255 characters

    Description of access rule entity

  • settings object[]

    Describes relations the reader-to-relay relationship for the access rule entity

  • reader string

    Unique reader identifier

  • relays integer[]

    Set of relays

  • references_count object

    list of the number of links

  • identifiers integer

    Count of identifiers attached to the access rules

  • time_profiles integer

    Count of time_profiles attached to the access rules

  • users integer

    Count of users attached to the access rules

Loading...