invantive documentation
Invantive Support ForumsLog In / Sign Up

Reactions: Nextcloud Nextcloud Reactions

read only REST

  • Catalog: Spreed
  • Schema: Spreed
  • Label: Nextcloud Reactions

Can only retrieve data.

Summary

Reactions of one message, one row per actor per reaction. Read-only for now.

API Source

  • Endpoint: /ocs/v2.php/apps/spreed/api/v1/reaction/{token}/{message_id}?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
message_id number Identifier of the message to read the reactions of.
token varchar2 Token of the room the message belongs to.

Table Columns

The columns of the table Reactions 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 reacted.
actor_id varchar2 itgen_ncl_actor_id filters on the platform, writable, actorId Identifier of the actor who reacted.
actor_type varchar2 itgen_ncl_actor_type filters on the platform, writable, actorType Type of the actor who reacted - users, guests, bots, and so on.
reacted_at datetime itgen_ncl_reacted_at filters on the platform, writable, timestamp Moment the reaction was added (UTC).
reaction varchar2 itgen_ncl_reaction filters on the platform, writable, reaction Emoji the actor reacted with.