Training

What got better, and what changed

get/training/progress

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/training/progress
  • Auth: HTTP bearer

Query parameters

sinceDaysinteger

How far back a reading still counts as news. Defaults to 90 days.

limitinteger

How many notes at most. Defaults to 24.

Headers

X-Client-Platformstring

The native client's platform, e.g. ios. Server-side and non-native callers omit it.

X-Client-Versionstring

The native client's own semver version. With X-Client-Platform, a version below that platform's minimum is refused with CLIENT_UPGRADE_REQUIRED (426).

Response

OK

units'metric' | 'imperial' required

How to display quantities; the API always speaks SI.

sincestring date required

The oldest measurement date returned. Readings before it were still read — they are what a best is measured against — but are not reported as news, so a newly connected provider's years of history set the standing bests instead of arriving as dozens of breakthroughs.

waitingOnstring[] required

Metrics with a single reading, so there is nothing to compare yet. The useful form of an empty state.

Changes

No recorded changes to this operation across all 1 revision of this API.