RoutesApi

All URIs are relative to https://www.strava.com/api/v3

MethodHTTP requestDescription
getrouteasgp_xGET /routes/{id}/export_gpxExport Route GPX
getrouteastc_xGET /routes/{id}/export_tcxExport Route TCX
getrouteby_idGET /routes/{id}Get Route
getroutesbyathleteidGET /athletes/{id}/routesList Athlete Routes

getrouteasgp_x

get_route_as_g_p_x(api::RoutesApi, id::Int64; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse <br/> `getrouteasgpx(_api::RoutesApi, response_stream::Channel,id::Int64; _mediaType=nothing) ->Channel{Nothing},OpenAPI.Clients.ApiResponse`

Export Route GPX

Returns a GPX file of the route. Requires read_all scope for private routes.

Required Parameters

NameTypeDescriptionNotes
_apiRoutesApiAPI context
idInt64The identifier of the route.

Return type

Nothing

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getrouteastc_x

get_route_as_t_c_x(api::RoutesApi, id::Int64; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse <br/> `getrouteastcx(_api::RoutesApi, response_stream::Channel,id::Int64; _mediaType=nothing) ->Channel{Nothing},OpenAPI.Clients.ApiResponse`

Export Route TCX

Returns a TCX file of the route. Requires read_all scope for private routes.

Required Parameters

NameTypeDescriptionNotes
_apiRoutesApiAPI context
idInt64The identifier of the route.

Return type

Nothing

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getrouteby_id

get_route_by_id(api::RoutesApi, id::Int64; _mediaType=nothing) -> Route, OpenAPI.Clients.ApiResponse <br/> `getroutebyid(_api::RoutesApi, response_stream::Channel,id::Int64; _mediaType=nothing) ->Channel{Route},OpenAPI.Clients.ApiResponse`

Get Route

Returns a route using its identifier. Requires read_all scope for private routes.

Required Parameters

NameTypeDescriptionNotes
_apiRoutesApiAPI context
idInt64The identifier of the route.

Return type

Route

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getroutesbyathleteid

get_routes_by_athlete_id(api::RoutesApi; page=nothing, `perpage=nothing, _mediaType=nothing) ->Vector{Route},OpenAPI.Clients.ApiResponse<br/>getroutesbyathleteid(_api::RoutesApi, response_stream::Channel;page=nothing,per_page=nothing, _mediaType=nothing) ->Channel{Vector{Route}},OpenAPI.Clients.ApiResponse`

List Athlete Routes

Returns a list of the routes created by the authenticated athlete. Private routes are filtered out unless requested by a token with read_all scope.

Required Parameters

NameTypeDescriptionNotes
_apiRoutesApiAPI context

Optional Parameters

NameTypeDescriptionNotes
pageInt64Page number. Defaults to 1.[default to nothing]
per_pageInt64Number of items per page. Defaults to 30.[default to 30]

Return type

Vector{Route}

Authorization

strava_oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]