Update your profile
Changes the caller's display name, bio and visibility. Only the fields named in update_mask are written (display_name, bio, visibility); everything else is left alone. A field the mask names must be present in the request: an empty display name or bio clears it, and the handle is shown instead. Values are trimmed. Display name is at most 64 characters, bio at most 500.
An empty mask, a path other than those three, or a masked field that is missing answers INVALID_ARGUMENT; so does VISIBILITY_UNSPECIFIED. First-party sessions only: a delegated product token is refused even when it carries the scope. Returns the profile after the update.
Required scopes: profiles:profile:edit
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
The fields to write: any of display_name, bio, visibility. An
empty mask is invalid_argument rather than a no-op that looks like it
worked, and so is a path the server cannot write.
New display name, when named in the mask. Empty clears it (the handle shows instead).
length <= 64New bio, when named in the mask. Empty clears it.
length <= 500New visibility, when named in the mask. VISIBILITY_UNSPECIFIED is refused.
Response Body
application/json
application/json
curl -X POST "https://profiles-api.xeonr.io/xeonr.profiles.v2.MeService/UpdateMyProfile" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"myProfile": "map[profile:map[displayName:Luke handle:luke] visibility:VISIBILITY_PUBLIC]"
}Show or hide profile widgets POST
Sets whether individual product widgets show on the caller's public profile. An absent preference means visible, so only deviations are stored. Send up to 50 preferences; if a widget key repeats, the later entry wins. Widgets that are not named keep their current setting. Each `widget_key` must be namespaced by its `product` (`xmb.now_playing` for product `xmb`) and the product must exist, else `INVALID_ARGUMENT`. A delegated product token may only set keys under its own product (`PERMISSION_DENIED` otherwise). Returns the profile after the update. **Required scopes:** `profiles:profile:edit`
Profiles
Public profiles: the page header, product digests and tabs, handle resolution, and the one signed-in call, a product action.