One collection – a community or a host's portfolio: its own page and its places

get/api/public/v1/c/{slug}

Request

  • Base URL: https://posadita.com
  • URL: https://posadita.com/api/public/v1/c/{slug}
  • Auth: none declared

Path parameters

slugstring required

The collection's slug, from posadita.com/s/{slug} or a site's slug.

Query parameters

locale'en' | 'cs' | 'sk' | 'de' | 'it' | 'fr' | 'pt' | 'es'
fromstring date

Arrival (with to). With dates every place is priced for exactly that stay.

tostring date

Departure (with from).

guestsinteger

Everyone staying (default 1).

sort'recommended' | 'price_asc' | 'price_desc' | 'size'

Default recommended – a daily shuffle, so no host's place is always on top.

typestring

One property type.

minBedroomsinteger

At least this many bedrooms.

amenitiesstring

Comma-separated amenity ids; every one of them, not any.

availableOnlyboolean

With dates: leave out what cannot be booked for them.

limitinteger

Page size (default 24).

offsetinteger

Where the page starts.

Response

The collection and one page of its places.

sortstring
totalinteger
availableinteger nullable
offsetinteger
limitinteger

Changes

No recorded changes to this operation across all 1 revision of this API.