Strength

Log a strength session

post/strength-sessions

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/strength-sessions
  • 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

performedAtstring date-time

Defaults to now.

durationSinteger
sessionRpenumber
notesstring
activityIdstring

A recorded activity from the same session, if a device was worn.

routineIdstring

The strength routine this session was done from (StrengthTemplate.routine.id), so the weekly review can count its sets against the plan. One of this athlete's routines; anything else is ROUTINE_NOT_LINKABLE.

Response

OK

idstring required

Opaque identifier.

Changes

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