Skip to content

Latest commit

 

History

History
73 lines (41 loc) · 2.41 KB

SegmentEffortsApi.md

File metadata and controls

73 lines (41 loc) · 2.41 KB

\SegmentEffortsApi

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

Method HTTP request Description
get_efforts_by_segment_id GET /segment_efforts List Segment Efforts
get_segment_effort_by_id GET /segment_efforts/{id} Get Segment Effort

get_efforts_by_segment_id

Veccrate::models::DetailedSegmentEffort get_efforts_by_segment_id(segment_id, start_date_local, end_date_local, per_page) List Segment Efforts

Returns a set of the authenticated athlete's segment efforts for a given segment. Requires subscription.

Parameters

Name Type Description Required Notes
segment_id i32 The identifier of the segment. [required]
start_date_local Option<String> ISO 8601 formatted date time.
end_date_local Option<String> ISO 8601 formatted date time.
per_page Option<i32> Number of items per page. Defaults to 30. [default to 30]

Return type

Veccrate::models::DetailedSegmentEffort

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]

get_segment_effort_by_id

crate::models::DetailedSegmentEffort get_segment_effort_by_id(id) Get Segment Effort

Returns a segment effort from an activity that is owned by the authenticated athlete. Requires subscription.

Parameters

Name Type Description Required Notes
id i64 The identifier of the segment effort. [required]

Return type

crate::models::DetailedSegmentEffort

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]