invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

RoomAvatarsByToken: Nextcloud Nextcloud Room Avatars

read only REST

  • Catalog: Spreed
  • Schema: Spreed
  • Label: Nextcloud Room Avatars

Can only retrieve data.

Summary

Avatar of one room. Read-only.

API Source

  • Endpoint: /ocs/v2.php/apps/spreed/api/v1/room/{token}/avatar

Performance Characteristics

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

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
dark boolean False Whether to read the dark-theme variant of the avatar.
token varchar2 Token of the room to read the avatar of.

Table Columns

The columns of the table RoomAvatarsByToken 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.