public interface GearAPI
API definitions for the gear services endpoints
| Modifier and Type | Method and Description |
|---|---|
StravaGear |
getGear(String gearId) |
void |
getGear(String gearId,
StravaAPICallback<StravaGear> callback) |
@GET(value="/gear/{id}")
StravaGear getGear(@Path(value="id")
String gearId)
throws NotFoundException
gearId - Gear identifierNotFoundException - If the gear with the given id doesn't existGearService.getGear(java.lang.String)@GET(value="/gear/{id}")
void getGear(@Path(value="id")
String gearId,
StravaAPICallback<StravaGear> callback)
throws NotFoundException
gearId - Gear identifiercallback - The callback to execute on completionNotFoundException - If the gear with the given id doesn't existGearService.getGear(java.lang.String)Copyright © 2016 Dan Shannon. All rights reserved.