Skip to main content
GET
Get resources of an organization

Pfadparameter

organization_slug
string
erforderlich

Abfrageparameter

include
enum<string>

Include resource relationships

Verfügbare Optionen:
cover_image,
gallery_images,
organization,
group,
category,
resource_properties.property,
schedules,
add_ons
Beispiel:

"category,cover_image,resource_properties.property"

filter[start_date]
string

Filter resources >= start_date (atomic date time string)

filter[end_date]
string

Filter resources <= end_date (atomic date time string)

sort
string

Sort column for resources (prepend - for desc)

filter[categories]
array

Array of category ids

page[size]
number
page[number]
number
filter[exclude_child_resources]
enum<string>
Standard:true

Exclude child resources from global listing

Verfügbare Optionen:
true,
false
filter[exclude_hidden]
enum<string>
Standard:true

default only unhidden resources for unauthenticated users

Verfügbare Optionen:
true,
false
filter[name]
string
filter[ids]
array
filter[properties]
array
filter[groups]
array
filter[locations]
array
filter[services]
array
filter[location][lat]
string

Latitude of search coordinates

Pattern: ^(\+|-)?(?:90(?:(?:\.0{1,8})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,8})?))$
filter[location][lng]
string

Longitude of search coordinates

Pattern: ^(\+|-)?(?:180(?:(?:\.0{1,8})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,8})?))$
filter[location][dist]
string

Max. dist in km from search coordinates

filter[location][city]
string

City name

filter[properties][{property_id}][v]
string

Filter value of property with property_id

filter[properties][{property_id}][o]
enum<string>

Operator for filter value of property with property_id

Verfügbare Optionen:
=,
in,
<=,
>=,
>,
<,
like
filter[include_unavailable]
boolean
Standard:false

Add unavailable resource to result

Antwort

OK

data
Resource · object[]