Venues
Venues related to Holidaze
Some of these are authenticated endpoints. You can visit authentication to register an account.
These endpoints allow you to retrieve venues.
These endpoints support pagination and sorting. Read more about these features here.
The Venue model
Prop | Type | Default |
---|---|---|
id | string | - |
name | string | - |
description | string | - |
media | Array<object> | - |
price | float | - |
maxGuests | integer | - |
rating | float | - |
created | string | - |
updated | string | - |
meta | Object | - |
location | Object | - |
Query parameters
Not all of the properties of a venue are returned by default. You can use the following optional query parameters to include additional properties in the response.
Prop | Type | Default |
---|---|---|
_owner | boolean | false |
_bookings | boolean | false |
All venues
This endpoint does not require authentication.
Retrieve all venues.
If you want to get all venues by a specific profile, you can use the venues by profile endpoint.
Single venue
This endpoint does not require authentication.
Retrieve a single venue based on its id.
Create venue
Creation a new venue.
Update venue
Updating a venue.
Delete venue
Delete a venue based on its id.
Returns an empty 204 No Content
response on success.
Search venues
Search for venues by their name
or description
properties.