v2 - Profiles

Update My Profile

Update the authenticated user's own profile.

PATCH semantics: only fields explicitly provided are written. Mutable fields: display_name, avatar_url, bio. Email is never written here: when the profile has no confirmed email, a single-use confirmation link goes to the address given and the response says email_confirmation: "sent"; the email changes when the link is used (email_confirmation.py). Ignored when a confirmed email exists.

Returns the updated profile.

patch/v2/profiles/me

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Request body

display_namestring nullable

Public display name shown to other users.

avatar_urlstring nullable

URL of the profile avatar image.

biostring nullable

Free-form profile bio text.

emailstring nullable

Contact/payout email. Not written directly: a confirmation link is sent to it, and it becomes the profile's email only when the link is used (POST /v2/public/email/confirm). Ignored when the profile already has a confirmed email.

Response

Successful Response

profile_idstring nullable
is_youboolean
display_namestring nullable
emailstring nullable
avatar_urlstring nullable
biostring nullable
email_confirmationstring nullable
handlestring nullable
wallet_railsobject nullable

Changes

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