Recovery

Bulk, idempotent ingest of a device's daily readings

For Apple Health/Health Connect syncing: each item upserts by (source, measurement, date), so a retried or re-synced request is safe. At most 500 items; an unsupported measurement or an implausible value is reported "rejected" per item rather than failing the whole batch. Writes the way a connected sync does, then re-resolves each day it touched once.

post/wellness/observations/batch

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/wellness/observations/batch
  • 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

Response

OK

Changes

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