Places
Add a place, and switch to it
The athlete is saying where they are now, so the new place becomes the active one — both surfaces that create a place are reached at the moment it is needed. The first place an athlete ever creates is also home. Names are unique per athlete (NAME_TAKEN, 409).
post/equipment/places
Request
- Base URL: https://bodylab.lol/api/v1
- URL: https://bodylab.lol/api/v1/equipment/places
- 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.