Offices
Search
Get total number of offices
Changed onget/offices/count
Request
- Base URLhttp://localhost:3000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
phrasestring
Full text search across country, city, address and estate owner fields
Example:Amsterdam
Full text search across office fields
countriesstring
Comma-separated list of country codes to filter by
Example:PL,US
Filter offices by country codes
amenitiesstring
Comma-separated list of amenity codes to filter by
Example:FREE_PARKING,SHOWER
Filter offices by amenities
amenitiesFiltering'ANY' | 'ALL'
If more than one amenity is passed, return either offices with any of the amenities (ANY) or with all of them (ALL)
Example:ALL
How to match office amenities ('ANY' or 'ALL')
Response
Successful operation
integer required
Example response
25
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
api tag
Searchadded
- info