Training

Today as one timeline: the days ahead, today, and what was recorded, with notes

Without before: the next seven days and events in the next six weeks, today, and the last days days, with the notes. With before: the days days before it, recorded entries and week reviews only.

get/training/timeline

Request

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

Query parameters

beforestring date

A day on the athlete's own calendar: YYYY-MM-DD, no time zone.

daysinteger

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

todaystring date required

A day on the athlete's own calendar: YYYY-MM-DD, no time zone.

timeZonestring required
hiddeninteger required

Notes the athlete has hidden that would otherwise show.

fromstring date required

The earliest day this page covers.

earlierstring date nullable required

A day on the athlete's own calendar: YYYY-MM-DD, no time zone.

Changes

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