Today

Confirm the altitude the athlete is at today

Today only. Watt targets use it ahead of recent recordings and home altitude; heart-rate targets never change. Send the estimate's altitude and source, or source entered for a typed-in value.

put/training/today-altitude

Request

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

altitudeMnumber required
source'device_altitude' | 'recordings' | 'elevation_data' | 'entered' required

Response

OK

Changes

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