Activities
The activity catalog (hiking, ski touring, road cycling and the rest) grouped by category. Each activity declares what routing is available for it, which is what decides whether a segment can be auto-routed or has to be drawn by hand.
An outdoor activity type with its capabilities.
capabilitiesobject
What the routing engine can do for this activity. Read it before offering a mode: an activity that cannot be routed accepts linestring segments only, and a client that offers directions anyway produces a request the server refuses.
idstring (uuid)
Unique identifier of the activity.
localesobject
The activity's display name per language. Render from here rather than from slug: the slug is a stable identifier and is not translated.
slugstring
One of: hiking-and-trail, professional-trail, running, road-cycling, gravel-bike, mountain-bike, backcountry-skiing, ski-touring, cross-country-skiing, snowshoe-walking
Stable identifier for the activity, the same on every surface and safe to store. id is the value operations take; this is the value a human reads in a URL or a config file.
/v1/activitiesReturns all available activities grouped by category. Each activity includes its capabilities (e.g., routing support, elevation profiles). It is a catalog, the same for every caller, so it is not paged: every category comes back at once.
Response 200
The activity catalog, grouped by category. Each activity declares what the routing can do for it.
extensionsobject
Top-level extensions map for 2xx responses. Mirrors the GraphQL-spec response extensions: a free-form map for response-scoped metadata.
dataarray of CategoryActivities
Errors 400, 401, 402, 403, 429, 500, 504. See Errors.