Lines

Get Lines by Mode

Retrieves all lines for a specific transport mode.

get/lines/mode/{mode}

Request

  • Base URL: https://api.stationly.co.uk/api/v1
  • URL: https://api.stationly.co.uk/api/v1/lines/mode/{mode}
  • Auth: API key in header X-Stationly-Key

Path parameters

modestring required

Response

A list of lines for the given mode.

idstring
namestring
modeNamestring
labelstring

Example response

[
  {
    "id": "victoria",
    "name": "Victoria",
    "modeName": "tube",
    "label": "Victoria"
  }
]

Changes

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