Propertys

List parks that match a trip category

Return parks that match the given trip category slug.

The payload mirrors GET /properties/{id}/similar: a SuccessPayload whose data is a list of expanded GeoJSON features (same shape the /properties/json?expanded=true and PDP similar-parks endpoints use), so the frontend transforms follow the existing transformPropertyToPark pipeline.

  • 200 + empty list when the slug is valid but no park currently qualifies (e.g. the structured feature hasn't landed in the environment yet, or the similarity floor is too strict).
  • 404 when the slug is not one of the defined trip categories.
  • 500 on DB or OpenAI failures during the resolve step.
get/categories/{slug}/parks

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/categories/{slug}/parks
  • Auth: none declared

Path parameters

slugstring required

Query parameters

limitinteger

Maximum number of parks to return (1-200). Defaults to 50.

country'AU' | 'NZ'

ISO country code used to scope public property inventory.

Headers

API-Version'1'

Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.

Response

Successful Response

msgstring required

Changes

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