Push
Register this device for notifications
Idempotent: registering an address that is already known updates it in place and returns the same id, so a client can call this on every launch. An address registered under a different account moves to this one — a device only ever belongs to whoever last signed in on it.
post/me/push-devices
Request
- Base URL: https://bodylab.lol/api/v1
- URL: https://bodylab.lol/api/v1/me/push-devices
- 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.