Activities

Correct an activity

patch/activities/{id}

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/activities/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Opaque identifier.

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

activityTypestring
namestring nullable
startTimestring date-time

An instant: ISO-8601 with offset, e.g. 2026-09-13T06:30:00Z.

durationSinteger
distanceMnumber nullable
elevationGainMnumber nullable
avgHrinteger nullable
maxHrinteger nullable
avgPowerWinteger nullable
sessionRpenumber nullable
notesstring nullable

Response

No content.

Changes

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