Today

Whether today's daily update is waiting

Due-ness alone, with no answers, steps or readings: what an assistant or a widget needs to mention it, at the cost of a few rows rather than the whole update. Writes nothing.

get/training/daily-update/due

Request

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

Changes

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