GET lines

mbta.com:boston-mbta-transit

Summary:
Operation ID: ApiWeb.LineController.index
Auth: unknown

Parameters (6)

fields[line] (string, query, optional)

Fields to include with the response. Multiple fields **MUST** be a comma-separated (U+002C COMMA, ",") list. Note that fields can also be selected for included data types: see the [V3 API Best Practices](https://www.mbta.com/developers/v3-api/best-practices) for an example.

filter[id] (string, query, optional)

Filter by multiple IDs. **MUST** be a comma-separated (U+002C COMMA, ",") list.

include (string, query, optional)

Relationships to include. * `routes` The value of the include parameter **MUST** be a comma-separated (U+002C COMMA, ",") list of relationship paths. A relationship path is a dot-separated (U+002E FULL-STOP, ".") list of relationship names. [JSONAPI "include" behavior](http://jsonapi.org/format/#f...

page[limit] (integer, query, optional)

Max number of elements to return

page[offset] (integer, query, optional)

Offset (0-based) of first element in the page

sort (string, query, optional)

Results can be [sorted](http://jsonapi.org/format/#fetching-sorting) by the id or any `/data/{index}/attributes` key. Assumes ascending; may be prefixed with '-' for descending | JSON pointer | Direction | `sort` | |--------------|-----------|------------| | `/data/{index}/attributes/color` | a...

Constraints: {'enum': ['color', '-color', 'long_name', '-long_name', 'short_name', '-short_name', 'sort_order', '-sort_order', 'text_color', '-text_color']}

No probe data for this endpoint yet.