Amenities

Returns amenities of the organization

get/v3/amenities

Request

Query parameters

page[number]integer

Page number

page[size]integer

Page size

sortstring

Sort. Specify a comma separated list of attributes to sort on. Prefix attribute with a - to sort in descending order. Allowed attributes: id

fields[amenity]string

Fieldset. Specify a comma separated list of attributes to return

includestring

Includes list. Specify a comma separated list of resources to include.

filter[id]string

Filter on ID

filter[name]string

Filter on name

filter[description]string

Filter on description

filter[type]string

Filter on type

filter[position]string

Filter on position

filter[semantic_amenity_type]string

Filter on semantic_amenity_type

filter[filterable]string

Filter on filterable

filter[highlightable]string

Filter on highlightable

filter[amenity_group]string

Filter on amenity_group. Specify a comma separated list of IDs to filter on.

filter[amenity_options]string

Filter on amenity_options. Specify a comma separated list of IDs to filter on.

Headers

Accept-Languagestring

Supported languages. A comma separated list with one or more of the following locales: cs, da-DK, de, de-AT, de-CH, en-US, en-GB, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr, en, da. Default: 'en'.

Response

AmenityCollectionResponse

Example response

{
  "data": [
    {
      "id": "1",
      "type": "amenity",
      "relationships": {
        "amenity_group": {
          "data": {
            "type": "amenity_group"
          }
        },
        "amenity_options": {
          "data": [
            {
              "type": "amenity_option"
            }
          ]
        }
      }
    }
  ],
  "included": [
    {
      "id": "1",
      "type": "amenity_group"
    }
  ]
}

Changes

    • info

      added the new optional query request parameter filter[highlightable]

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      the response optional property /// became read-only for the status

    • info

      the response optional property /// became read-only for the status

    • info

      the response optional property /// became read-only for the status

    • info

      the response optional property /// became read-only for the status

    • info

      the response optional property /// became read-only for the status

    • info

      the response optional property /// became read-only for the status