-
Notifications
You must be signed in to change notification settings - Fork 30
Depot API
abmagil edited this page Nov 29, 2012
·
7 revisions
This API contains two pieces:
- A list of the current depots
- A list of the vehicles assigned to each depot for use in partitioning the total stream of bus messages across inference engines.
(tdm component)/api/depot/list
(tdm component)/api/depot/(depot-id)/vehicles/list
N/A
1.
{ "depots":[ "100th", "126th", "CHAR" ], "status":"OK" }
2.
{ "vehicles": [ { "agency-id": "MTA NYCT", "vehicle-id": "7588" }, { "agency-id": "MTA NYCT", "vehicle-id": "7561" }, ], "status": "OK" }
The underlying data format is here