Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-01-27 17:46:33 +0300
committerVitor Mattos <vitor@php.rio>2022-02-15 18:49:52 +0300
commit1a2639714033670444f5a104f2570755d5acfd25 (patch)
tree8c1874f814c96f05a2f13a7397a3ae103a756a55 /docs
parent8f70d2d4e9b9da40b5d497992203cdff5f55a113 (diff)
Update docs
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'docs')
-rw-r--r--docs/reaction.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/reaction.md b/docs/reaction.md
index 97bd9b63b..183aae338 100644
--- a/docs/reaction.md
+++ b/docs/reaction.md
@@ -4,6 +4,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
## React to a message
+* Required capability: `reactions`
* Method: `POST`
* Endpoint: `/reaction/{token}/{messageId}`
* Data:
@@ -22,6 +23,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
## Delete a reaction
+* Required capability: `reactions`
* Method: `DELETE`
* Endpoint: `/reaction/{token}/{messageId}`
* Data:
@@ -38,6 +40,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
## Retrieve reactions of a message by type
+* Required capability: `reactions`
* Method: `GET`
* Endpoint: `/reaction/{token}/{messageId}`
* Data:
@@ -57,6 +60,6 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
field | type | Description
---|---|---
`actorType` | string | `guests` or `users`
- `actorId` | string | User id of the reaction author
+ `actorId` | string | Actor id of the reacting participant
`actorDisplayName` | string | Display name of the reaction author
`timestamp` | int | Timestamp in seconds and UTC time zone