Training
Sessions the athlete has said are happening, by date
A date range rather than one day, because the point of a commitment is the days around it: the engine plans the week with them in it. Withdrawn commitments are left out unless asked for.
get/commitments
Request
- Base URL: https://bodylab.lol/api/v1
- URL: https://bodylab.lol/api/v1/commitments
- Auth: HTTP bearer
Query parameters
fromstring date required
A day on the athlete's own calendar: YYYY-MM-DD, no time zone.
tostring date required
A day on the athlete's own calendar: YYYY-MM-DD, no time zone.
includeWithdrawnboolean
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
Changes
No recorded changes to this operation across all 1 revision of this API.