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

getrouteasgpx(api::RoutesApi, id::Int64; mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse <br/> getrouteasgpx(api::RoutesApi, responsestream::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

getrouteastcx(api::RoutesApi, id::Int64; mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse <br/> getrouteastcx(api::RoutesApi, responsestream::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

getroutebyid(api::RoutesApi, id::Int64; mediaType=nothing) -> Route, OpenAPI.Clients.ApiResponse <br/> getroutebyid(api::RoutesApi, responsestream::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

getroutesbyathleteid(api::RoutesApi; page=nothing, perpage=nothing, mediaType=nothing) -> Vector{Route}, OpenAPI.Clients.ApiResponse <br/> getroutesbyathleteid(api::RoutesApi, responsestream::Channel; page=nothing, perpage=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]