All URIs are relative to https://www.strava.com/api/v3
Method | HTTP request | Description |
---|---|---|
GetEffortsBySegmentId | Get /segments/{id}/all_efforts | List Segment Efforts |
GetSegmentEffortById | Get /segment_efforts/{id} | Get Segment Effort |
[]DetailedSegmentEffort GetEffortsBySegmentId(ctx, id, optional) List Segment Efforts
Returns a set of the authenticated athlete's segment efforts for a given segment.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | The identifier of the segment. | |
optional | *GetEffortsBySegmentIdOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetEffortsBySegmentIdOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Page number. | perPage | optional.Int32| Number of items per page. Defaults to 30. | [default to 30]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DetailedSegmentEffort GetSegmentEffortById(ctx, id) Get Segment Effort
Returns a segment effort from an activity that is owned by the authenticated athlete.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int64 | The identifier of the segment effort. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]