{ "opencollection": "1.0.0", "info": { "name": "MBTA V3 Alerts Lines API", "version": "3.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Lines", "type": "folder" }, "items": [ { "info": { "name": "List lines", "type": "http" }, "http": { "method": "GET", "url": "https://api-v3.mbta.com/lines", "params": [ { "name": "page[offset]", "value": "", "type": "query", "description": "Offset (0-based) into the collection." }, { "name": "page[limit]", "value": "", "type": "query", "description": "Maximum number of resources to return." }, { "name": "sort", "value": "", "type": "query", "description": "Comma-separated list of fields to sort by. Prepend '-' for descending." } ] }, "docs": "Returns transit lines grouped by mode." }, { "info": { "name": "Get line", "type": "http" }, "http": { "method": "GET", "url": "https://api-v3.mbta.com/lines/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get line" } ] } ], "bundled": true }