OneBusAway · Example Payload

Get_Api_Where_Arrivals And Departures For Stop_Stopid.Json

default

Get_Api_Where_Arrivals And Departures For Stop_Stopid.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_arrivals-and-departures-for-stop_stopID.json",
  "method": "GET",
  "path": "/api/where/arrivals-and-departures-for-stop/{stopID}.json",
  "summary": "arrivals-and-departures-for-stop",
  "description": "",
  "tags": [
    "default"
  ],
  "parameters": [
    {
      "name": "stopID",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string"
      },
      "example": "1_75403"
    },
    {
      "name": "minutesBefore",
      "in": "query",
      "required": false,
      "schema": {
        "type": "integer",
        "default": 5
      },
      "description": "Include vehicles having arrived or departed in the previous n minutes."
    },
    {
      "name": "minutesAfter",
      "in": "query",
      "required": false,
      "schema": {
        "type": "integer",
        "default": 35
      },
      "description": "Include vehicles arriving or departing in the next n minutes."
    },
    {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "format": "date-time"
      },
      "description": "The specific time for querying the system status."
    }
  ]
}