Magidoc

routes
Query

Get all routes

Arguments

#

feeds

Only return routes with these feedIds

ids

Only return routes with these ids

name

Query routes by this name

serviceDates

Only include routes whose pattern operates on at least one service date specified by this filter.

Note: A service date is a technical term useful for transit planning purposes and might not correspond to a how a passenger thinks of a calendar date. For example, a night bus running on Sunday morning at 1am to 3am, might have the previous Saturday's service date.

transportModes

[ Mode ]

Only include routes, which use one of these modes

Response

#

Returns [ Route ].

Example

#

    
  

3

    
  

3

    
  

3