Future<TerraApiResponse<Void>> |
TerraClientV2.deauthenticateUser(PartialUser user) |
Asynchronously makes a request to the /auth/deauthenticateUser endpoint to
deauthenticate the given user with Terra, terminating the connection.
|
Future<TerraApiResponse<Activity>> |
TerraClientV2.getActivityForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime) |
Asynchronously makes a request to the /activity endpoint to fetch the activity data
for the given user.
|
Future<TerraApiResponse<Activity>> |
TerraClientV2.getActivityForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime,
RequestConfig requestConfig) |
Asynchronously makes a request to the /activity endpoint to fetch the activity data
for the given user.
|
Future<TerraApiResponse<Athlete>> |
TerraClientV2.getAthleteForUser(PartialUser user) |
Asynchronously makes a request to the /athlete endpoint to fetch the athlete data
for the given user.
|
Future<TerraApiResponse<Athlete>> |
TerraClientV2.getAthleteForUser(PartialUser user,
RequestConfig requestConfig) |
Asynchronously makes a request to the /athlete endpoint to fetch the athlete data
for the given user.
|
Future<TerraApiResponse<Body>> |
TerraClientV2.getBodyForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime) |
Asynchronously makes a request to the /body endpoint to fetch the body data
for the given user.
|
Future<TerraApiResponse<Body>> |
TerraClientV2.getBodyForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime,
RequestConfig requestConfig) |
Asynchronously makes a request to the /body endpoint to fetch the body data
for the given user.
|
Future<TerraApiResponse<Daily>> |
TerraClientV2.getDailyForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime) |
Asynchronously makes a request to the /daily endpoint to fetch the daily data
for the given user.
|
Future<TerraApiResponse<Daily>> |
TerraClientV2.getDailyForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime,
RequestConfig requestConfig) |
Asynchronously makes a request to the /daily endpoint to fetch the daily data
for the given user.
|
Future<TerraApiResponse<Menstruation>> |
TerraClientV2.getMenstruationForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime) |
Asynchronously makes a request to the /menstruation endpoint to fetch the menstruation data
for the given user.
|
Future<TerraApiResponse<Menstruation>> |
TerraClientV2.getMenstruationForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime,
RequestConfig requestConfig) |
Asynchronously makes a request to the /menstruation endpoint to fetch the menstruation data
for the given user.
|
Future<TerraApiResponse<Nutrition>> |
TerraClientV2.getNutritionForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime) |
Asynchronously makes a request to the /nutrition endpoint to fetch the nutrition data
for the given user.
|
Future<TerraApiResponse<Nutrition>> |
TerraClientV2.getNutritionForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime,
RequestConfig requestConfig) |
Asynchronously makes a request to the /nutrition endpoint to fetch the nutrition data
for the given user.
|
Future<TerraApiResponse<Sleep>> |
TerraClientV2.getSleepForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime) |
Asynchronously makes a request to the /sleep endpoint to fetch the sleep data
for the given user.
|
Future<TerraApiResponse<Sleep>> |
TerraClientV2.getSleepForUser(PartialUser user,
Instant startTime,
@Nullable Instant endTime,
RequestConfig requestConfig) |
Asynchronously makes a request to the /sleep endpoint to fetch the sleep data
for the given user.
|
Future<? extends TerraApiResponse<? extends User>> |
TerraClientV2.getUser(PartialUser user) |
Asynchronously makes a request to the /userInfo endpoint to fetch the details
for the user represented by the given PartialUser .
|