routes

Get Google Maps Link

Generate a Google Maps directions URL for a route.

Takes a route ID, looks up its stops in order, and builds a Google Maps directions link starting from the warehouse and visiting each stop.

Parameters: route_id (UUID): The unique identifier of the route. session (AsyncSession): The database session dependency.

Returns: The Google Maps directions URL as a plain string.

get/api/routes/{route_id}/google-maps-link

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

route_idstring uuid required

Response

Successful Response

string required

Changes

No recorded changes to this operation across all 1 revision of this API.