profiles
Upsert My Profile
Create or replace the signed-in user's profile.
200 on both create and update, deliberately — not 201 on create. The client treats this as one "save" action and branching its success handler on a status code would gain it nothing that exists in the body does not already say.
Idempotent in the sense that matters: the row is keyed by user_id, so saving twice updates one row and can never produce two profiles for one person. That is a primary key doing the work rather than a code path remembering to.
put/api/profile
Request
- Base URL: https://api.parlel.com (the document declares no server; this is the origin it was published from)
- URL: https://api.parlel.com/api/profile
- Auth: none declared
Headers
authorizationstring nullable
Request body
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.