public interface GearService extends StravaService
StravaGear related services.
StravaGear represents equipment used during an StravaActivity.
The object is returned in summary or detailed representations.
| Modifier and Type | Method and Description |
|---|---|
StravaGear |
getGear(String gearId)
Retrieve details about a specific item of
StravaGear. |
CompletableFuture<StravaGear> |
getGearAsync(String gearId)
Retrieve details about a specific item of
StravaGear. |
clearCacheStravaGear getGear(String gearId)
Retrieve details about a specific item of StravaGear. The requesting StravaAthlete must own the StravaGear. At this time it is
not possible to view just anyone's gear type and usage.
Returns null if club with the given id does not exist
URL GET https://www.strava.com/api/v3/gear/:id
gearId - The id of the StravaGear to be retrieved.StravaGear representation.UnauthorizedException - If service token is invalidCompletableFuture<StravaGear> getGearAsync(String gearId)
Retrieve details about a specific item of StravaGear. The requesting StravaAthlete must own the StravaGear. At this time it is
not possible to view just anyone's gear type and usage.
Returns null if club with the given id does not exist
URL GET https://www.strava.com/api/v3/gear/:id
gearId - The id of the StravaGear to be retrieved.StravaGear representation.UnauthorizedException - If service token is invalidCopyright © 2016 Dan Shannon. All rights reserved.