public interface SegmentEffortService extends StravaService
A segment effort represents an athlete's attempt at a segment.
It can also be thought of as a portion of a ride that covers a segment.
The object is returned in summary or detailed representations. They are currently the same.
| Modifier and Type | Method and Description |
|---|---|
StravaSegmentEffort |
getSegmentEffort(Long segmentEffortId)
Retrieve details about a specific segment effort.
|
CompletableFuture<StravaSegmentEffort> |
getSegmentEffortAsync(Long segmentEffortId)
Retrieve details about a specific segment effort.
|
clearCacheStravaSegmentEffort getSegmentEffort(Long segmentEffortId)
Retrieve details about a specific segment effort. The effort must be public or it must correspond to the current athlete.
Returns null if the segment effort does not exist or is private
URL GET https://www.strava.com/api/v3/segment_efforts/:id
segmentEffortId - The id of the segment to be retrievedCompletableFuture<StravaSegmentEffort> getSegmentEffortAsync(Long segmentEffortId)
Retrieve details about a specific segment effort. The effort must be public or it must correspond to the current athlete.
Returns null if the segment effort does not exist or is private
URL GET https://www.strava.com/api/v3/segment_efforts/:id
segmentEffortId - The id of the segment to be retrievedCopyright © 2016 Dan Shannon. All rights reserved.