REST Resources
This API supports a Representational State Transfer (REST) model for accessing a set of resources through a fixed set of operations. The following resources are accessible through the RESTful model:
- AlertPatcher
- BikeRental
- ExternalGeocoderResource
- GeocoderResource
- GraphInspectorTileResource
- IndexAPI
- LegendResource
- LIsochrone
- Metadata
- MunicoderServer
- PlannerResource
- PointSetResource
- ProfileResource
- Raster
- Routers
- ScriptResource
- ServerInfo
- SimpleIsochrone
- SIsochrone
- SurfaceResource
- TileService
- TimeGridWs
- UpdaterStatusResource
There is also a WADL document describing the REST API.
Data Model
All endpoints act on a common set of data. The data can be represented with difference media (i.e. "MIME") types, depending on the endpoint that consumes and/or produces the data. The data can described by XML Schema, which definitively describes the XML representation of the data.
This document will describe the data using terms based on XML Schema. Data can be grouped by namespace, with a schema document describing the elements and types of the namespace. Generally speaking, types define the structure of the data and elements are instances of a type. For example, elements are usually produced by (or consumed by) a REST endpoint, and the structure of each element is described by its type.
Namespace "ns0"
Namespace URI: | (default namespace) |
XSD: | ns0.xsd |
Data Elements
- Agency
- AgencyAndId
- AgencyList
- AlertPatch
- AlertPatchCreationResponse
- alertPatchResponse
- AlertPatchSet
- BikeRentalStationList
- Calendar
- CalendarData
- CalendarDate
- debugOutput
- geocoderResults
- graphMetadata
- Headsign
- InspectorLayersList
- modeList
- MyMap
- response
- route
- RouteData
- RouteDataList
- RouteList
- RouterInfo
- RouterList
- RouteVariant
- serverInfo
- Stop
- StopList
- StopTimeList
- transitError
- trip
- trip
- TripList
- tripMatch
Data Types
- absoluteDirection
- agencyAndId
- agencyAndIdType
- agencyList
- agencyType
- alert
- alertPatch
- alertPatchCreationResponse
- alertPatchResponse
- alertPatchSet
- bikeRentalStation
- bikeRentalStationList
- calendarData
- debugOutput
- encodedPolylineBean
- entry
- fare
- fareType
- geocoderResult
- geocoderResults
- graphMetadata
- headsignsInfo
- inspectorLayer
- inspectorLayersList
- itinerary
- leg
- mapType
- mavenVersion
- message
- modeList
- money
- note
- place
- plannerError
- relativeDirection
- response
- routeData
- routeDataList
- routeList
- routerInfo
- routerList
- routeType
- routeVariant
- serverInfo
- serviceCalendarDateType
- serviceCalendarType
- stopList
- stopTime
- stopTimeList
- stopType
- transitError
- translatedString
- TraverseMode
- tripList
- tripMatch
- tripPlan
- tripsModelInfo
- tripType
- walkStep
- wrappedCurrency