invantive documentation
Invantive Support ForumsLog In / Sign Up

UserProxyAvatarsByToken: Nextcloud Nextcloud User Proxy Avatars

read only REST

  • Catalog: Spreed
  • Schema: Spreed
  • Label: Nextcloud User Proxy Avatars

Can only retrieve data.

Summary

Avatar of a federated user, scoped to one room. Read-only.

API Source

  • Endpoint: /ocs/v2.php/apps/spreed/api/v1/proxy/{token}/user-avatar/{size}?cloudId={cloudId}

Performance Characteristics

Characteristic Value
Average access latency (ms) 305
Full scan rows per minute 18,900

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
cloudId varchar2 Federation cloud identifier of the user, e.g. user@remote.example.
dark boolean False Whether to read the dark-theme variant of the avatar.
size number Pixel size of the avatar: 64 or 512.
token varchar2 Token of the room the federated user is a participant of.

Table Columns

The columns of the table UserProxyAvatarsByToken are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
avatar blob itgen_ncl_avatar filters on the platform, writable Raw image bytes of the avatar, PNG or SVG depending on content_type.
content_type varchar2 itgen_ncl_content_type filters on the platform, writable MIME type of the avatar image, e.g. image/png or image/svg+xml.