Today

Set today's time, equipment and unavailable sports

Replaces today's day report. Sending all three empty removes it. Applies to the athlete's local today only.

put/training/today-report

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/training/today-report
  • Auth: HTTP bearer

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).

Request body

timeAvailableMininteger nullable
equipment'gym' | 'dumbbells' | 'bodyweight' nullable
unavailableSportsstring[]

Response

OK

Changes

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