Modes
Get Transport Modes
Retrieves all supported transport modes. Served from in-memory cache (backed by local SQLite). Falls back to Firestore, then TfL API on cold start.
get/modes
Request
- Base URL: https://api.stationly.co.uk/api/v1
- URL: https://api.stationly.co.uk/api/v1/modes
- Auth: API key in header X-Stationly-Key
Response
A list of transport modes.
Example response
[
{
"modeName": "tube",
"displayName": "Underground",
"id": "tube",
"label": "Underground",
"iconUrl": "https://api.stationly.co.uk/icons/tube.png"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.