Module gtfs_server::routes::api::routes[][src]

/routes related routes

Statics

static_rocket_route_info_for_route_by_bbox

Rocket code generated static route information structure.

static_rocket_route_info_for_route_by_id

Rocket code generated static route information structure.

static_rocket_route_info_for_route_by_stop_uid

Rocket code generated static route information structure.

static_rocket_route_info_for_routes

Rocket code generated static route information structure.

static_rocket_route_info_for_routes_by_query

Rocket code generated static route information structure.

Functions

route_by_bbox

/routes/by-bbox/<bbox>/
Gets the Routes that serve a particular Stop by its UID, parametrized as <stop_uid>.
Returns a Result <Route>

route_by_id

/routes/<route_uid>
Gets the specified Route by its UID, parametrized as <route_uid>.
Returns a Result <Route>

route_by_stop_uid

/routes/by-stop/<stop_uid>
Gets the Routes that serve a particular Stop by its UID, parametrized as <stop_uid>.
Returns a Result <Route>

routes

/routes
Returns a ResultArray <Route>

routes_by_query

/routes?query Returns a ResultArray <Route>