hot-sites-v2

Count Hot Sites

Return the aggregate hot_sites count for the wizard's filters.

get/api/v2/hot-sites/count

Request

  • Base URL: https://api.alert.camp (the document declares no server; this is the origin it was published from)
  • URL: https://api.alert.camp/api/v2/hot-sites/count
  • Auth: none declared

Query parameters

providerstring required

Provider id (e.g. bc_parks, ontario_parks, parks_canada).

activity_typestring required

Activity bucket: camping | chalet | backcountry | canoe_camping | peche.

park_idstring nullable

When set, scope the count to a single park.

equipment_modestring

any | tent | rv (matches the wizard's equipment filter).

sub_equipment_idinteger nullable

Required when equipment_mode='rv'.

require_electricityboolean nullable
require_accessibleboolean nullable
require_petsboolean nullable
require_pull_throughboolean nullable
require_tent_onlyboolean nullable
party_sizeinteger nullable

When set, drop sites whose max_occupancy is below this. Sites with NULL max_occupancy pass (capacity unknown) — same convention as site_passes_party_filter.

Response

Successful Response

totalinteger required

Active hot_sites matching provider + activity_type (+ optional park_id). No equipment/amenity filters applied.

matchinginteger required

Subset of total that also passes the supplied equipment + amenity filters. Equal to total when no filters are active.

Changes

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