OneBusAway · Example Payload

Get_Api_Where_Agency_Agencyid.Json

Retrieve information for a specific transit agency identified by its unique ID.

TransitPublic TransitReal-TimeArrivalsDeparturesBusGTFSOpen SourceStop DataTrip PlanningService AlertsVehicle PositionsOpen Data

Get_Api_Where_Agency_Agencyid.Json is an example object payload from OneBusAway, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparameters

Example Payload

Raw ↑
{
  "operationId": "get_api_where_agency_agencyID.json",
  "method": "GET",
  "path": "/api/where/agency/{agencyID}.json",
  "summary": "Retrieve info for a specific transit agency identified by ID",
  "description": "Retrieve information for a specific transit agency identified by its unique ID.",
  "tags": [],
  "parameters": [
    {
      "name": "agencyID",
      "in": "path",
      "required": true,
      "description": "The ID of the transit agency.",
      "schema": {
        "type": "string"
      }
    }
  ]
}