invantive documentation
Invantive Support ForumsLog In / Sign Up

SharedObjects: Nextcloud Nextcloud Shared Objects

read only REST

  • Catalog: Spreed
  • Schema: Spreed
  • Primary Keys: id
  • Label: Nextcloud Shared Objects

Can only retrieve data.

Summary

Objects of one category shared in the chat of one room, one row per share. Read-only for now.

API Source

  • Endpoint: /ocs/v2.php/apps/spreed/api/v1/chat/{token}/share?objectType={object_type}&limit=200&format=json

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
object_type varchar2 Category of shared object to list - poll, file, deckcard, location, media, audio, voice, other, recording or pinned.
token varchar2 Token of the room to list shared objects of.

Table Columns

The columns of the table SharedObjects 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
actor_display_name varchar2 itgen_ncl_actor_display_name filters on the platform, writable, actorDisplayName Display name of the actor who shared the object.
actor_id varchar2 itgen_ncl_actor_id filters on the platform, writable, actorId Identifier of the actor who shared the object.
actor_type varchar2 itgen_ncl_actor_type filters on the platform, writable, actorType Type of the actor who shared the object.
id int64 itgen_ncl_id filters on the platform, writable, id Identifier of the chat message the object was shared with.
object_id varchar2 itgen_ncl_object_id filters on the platform, writable, messageParameters.object.id Identifier of the shared object itself, within its own app.
object_name varchar2 itgen_ncl_object_name filters on the platform, writable, messageParameters.object.name Display name of the shared object.
object_type varchar2 itgen_ncl_object_type filters on the platform, writable, messageParameters.object.type Platform-specific type of the shared object, such as talk-poll.
shared_at datetime itgen_ncl_shared_at filters on the platform, writable, timestamp Moment the object was shared (UTC).