-
Notifications
You must be signed in to change notification settings - Fork 89
OBA API Specs
Eric Jutrzenka edited this page May 11, 2026
·
3 revisions
Cockburn-style use case specs generated from the live Java implementation. Each page covers accepted parameters, response structure, error conditions, and suspected defects.
| Endpoint | Page |
|---|---|
GET /api/where/agencies-with-coverage.json |
agencies-with-coverage |
GET /api/where/agency/{id}.json |
agency |
| Endpoint | Page |
|---|---|
GET /api/where/route/{id}.json |
route |
GET /api/where/routes-for-agency/{id}.json |
routes-for-agency |
GET /api/where/route-ids-for-agency/{id}.json |
route-ids-for-agency, routes-for-agency |
GET /api/where/routes-for-location.json |
routes-for-location |
| Endpoint | Page |
|---|---|
GET /api/where/stop/{id}.json |
stop |
GET /api/where/stops-for-agency/{id}.json |
stops-for-agency |
GET /api/where/stop-ids-for-agency/{id}.json |
stop-ids-for-agency, stops-for-agency |
GET /api/where/stops-for-location.json |
stops-for-location |
GET /api/where/stops-for-route/{id}.json |
stops-for-route |
| Endpoint | Page |
|---|---|
GET /api/where/trip/{id}.json |
trip |
GET /api/where/trip-details/{id}.json |
trip-details |
GET /api/where/trips-for-route/{id}.json |
trips-for-route |
GET /api/where/trips-for-location.json |
trips-for-location |
| Endpoint | Page |
|---|---|
GET /api/where/schedule-for-stop/{id}.json |
schedule-for-stop |
GET /api/where/schedule-for-route/{id}.json |
schedule-for-route |
GET /api/where/arrivals-and-departures-for-stop/{id}.json |
arrivals-and-departures-for-stop |
GET /api/where/arrival-and-departure-for-stop/{stopId}.json |
arrival-and-departure-for-stop |
GET /api/where/trip-for-vehicle/{id}.json |
trip-for-vehicle |
| Endpoint | Page |
|---|---|
GET /api/where/vehicles-for-agency/{id}.json |
vehicles-for-agency |
| Endpoint | Page |
|---|---|
GET /api/where/search/route.json |
search-route |
GET /api/where/search/stop.json |
search-stop |
| Endpoint | Page |
|---|---|
GET /api/where/config.json |
config |
GET /api/where/current-time.json |
current-time |
GET /api/where/block/{id}.json |
block |
GET /api/where/block-instance/{id}.json |
block |
GET /api/where/shape/{id}.json |
shape |