Profiles
Public profiles: the page header, product digests and tabs, handle resolution, and the one signed-in call, a product action.
postGet a profile
Returns a person's public profile header and one overview digest per product that has something to show for them, looked up by handle (the person's Xeonr username, without the leading `@`). Profiles are public by default: a person who has never visited Xeonr Profiles still has a page, rendered from their Xeonr account. Their own overrides (display name, bio, visibility, hidden widgets) apply on top. Unknown handles and non-public profiles both answer `NOT_FOUND`, so existence is never disclosed. The profile's owner, if they present a bearer token, sees their own profile whatever its visibility, and `is_owner` and `visibility` are filled in for them only. Product digests are fetched live and in parallel. A product that does not answer is left out of `products` and `digests`; one that answers from a stale cache copy is marked `stale`. No authentication is required.
postGet one product's tab on a profile
Returns the full page one product shows on a profile, as an ordered list of display blocks. Visibility follows `GetProfile`, and widgets the owner has hidden are absent. `params` carries the selector state the page offers (for example a time window) and is forwarded to the product unchanged. Unknown products and products the person has never used answer `NOT_FOUND`, the same as an unknown handle, so nothing about what exists leaks. A product that is down answers `UNAVAILABLE`. No authentication is required.
postRun a product action from a profile page
Runs the action behind an action button on a profile page, such as a follow or a request, on behalf of the signed-in viewer. The viewer's subject, not the profile owner's, is forwarded to the product with the action id and its payload. This is the only authenticated method on the service. It needs a first-party signed-in session holding the `profiles:profile:read` scope; a token without it, or a delegated product token, is refused with `PERMISSION_DENIED`. Calls are limited to 10 a minute per viewer (`RESOURCE_EXHAUSTED`). The profile must be viewable by the caller and the product known, else `NOT_FOUND`; a product without actions answers `UNIMPLEMENTED`, and one that fails answers `UNAVAILABLE`. The response carries an optional toast `message` and `replace_blocks`, which replace blocks on the page that have the same `id`. **Required scopes:** `profiles:profile:read`
postResolve account subjects to public handles
Maps Xeonr account subject URNs to profile handles, so a product can render "owned by @handle" links. Takes 1-100 subjects and returns one entry for each that resolves to a public profile. Subjects that are unknown, or whose profile is not public, are left out without an error; the order of the result is not meaningful. No authentication is required.
Update your profile POST
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`
Get a profile POST
Returns a person's public profile header and one overview digest per product that has something to show for them, looked up by handle (the person's Xeonr username, without the leading `@`). Profiles are public by default: a person who has never visited Xeonr Profiles still has a page, rendered from their Xeonr account. Their own overrides (display name, bio, visibility, hidden widgets) apply on top. Unknown handles and non-public profiles both answer `NOT_FOUND`, so existence is never disclosed. The profile's owner, if they present a bearer token, sees their own profile whatever its visibility, and `is_owner` and `visibility` are filled in for them only. Product digests are fetched live and in parallel. A product that does not answer is left out of `products` and `digests`; one that answers from a stale cache copy is marked `stale`. No authentication is required.