Skip to main content

Get Apartments list

Return Apartments entities detailed list with used pagination, filter and sort options

Query Parameters
  • limit integer

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

    Number of items. Value by default is 10

  • page_number integer

    Possible values: >= 1

    Page number

  • sort_field string

    Field name (JSON Key in item entity)

  • sort_type string

    Possible values: [asc, desc]

    Default value: asc

    Sort type (asc/desc)

  • filter object

    Filtering options for Apartment

Responses

OK


Schema
  • list_items object[]

    List of apartments

  • list_option object

    Available options for sorting, filtering and pagination of lists

  • 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, 30, 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 filter sets for apartments

    anyOf

  • filter_field string

    Field available for filtering

  • filter_type string

    Possible values: [equal]

    Available filtering type, only equal here

  • filter_format string

    Data format, only string here

  • filter_value string

    Baker Street

  • sort object

    Available sorting options for the selected table

  • field string

    Sorting field name

  • asc boolean

    Sort direction

  • available_fields string[]

    Available for sorting fields names

Loading...