Today

Not now: defer today's update

Records today as deferred; it shows as a chip until answered. Idempotent, and never undoes an answer.

post/training/daily-update/later

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/training/daily-update/later
  • 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).

Response

OK

datestring date required

Today on the athlete's calendar: the morning, describing the night before.

dueboolean required
presentationstring required

How to show it. full: open as Today's check-in element, above the main session, with a Later control in its header. chip: its compact form under the session, which opens it in place (deferred today, or after three Laters in a row). none: nothing. Known values: full, chip, none. Treat unknown values as "other".

reasonstring required

Why, as a code: due, quiet, later, answered, off, no_trigger, first_day, not_onboarded.

statusstring nullable required

Today's row: draft until the yesterday step is answered, then answered; later when deferred. Null before anything is said. Known values: draft, answered, later. Treat unknown values as "other".

cycleAvailableboolean required

Whether the cycle question applies to this athlete, so "Period started today" can be offered under More on any day.

Changes

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