public interface SegmentEffortAPI
API definition of segment effort services endpoints on the Strava API
| Modifier and Type | Method and Description |
|---|---|
StravaSegmentEffort |
getSegmentEffort(Long segmentEffortId) |
void |
getSegmentEffort(Long segmentEffortId,
StravaAPICallback<StravaSegmentEffort> callback) |
@GET(value="/segment_efforts/{id}")
StravaSegmentEffort getSegmentEffort(@Path(value="id")
Long segmentEffortId)
throws NotFoundException
segmentEffortId - Effort identifierNotFoundException - If the effort with the given id doesn't existSegmentEffortService.getSegmentEffort(java.lang.Long)@GET(value="/segment_efforts/{id}")
void getSegmentEffort(@Path(value="id")
Long segmentEffortId,
StravaAPICallback<StravaSegmentEffort> callback)
throws NotFoundException
segmentEffortId - Effort identifiercallback - The callback to execute on completionNotFoundException - If the effort with the given id doesn't existSegmentEffortService.getSegmentEffort(java.lang.Long)Copyright © 2016 Dan Shannon. All rights reserved.