// Example: GET /1/user/228TQ4/activities.json
String url = APIUtil.contextualizeUrl(getApiBaseUrl(), getApiVersion(), "/user/" + fitbitUser.getId() + "/activities", APIFormat.JSON);
Response res = httpGet(url, true);
throwExceptionIfError(res);
try {
return new LifetimeAchievements(res.asJSONObject().getJSONObject("lifetime"));
} catch (JSONException e) {
throw new FitbitAPIException("Error parsing lifetime achievements: " + e, e);
}
}