зеркало из https://github.com/nextcloud/spreed.git
Update docs
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
Родитель
23270be26a
Коммит
73f59d3546
|
@ -21,6 +21,16 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
|
|||
+ `404 Not Found` When the conversation or message to react could not be found for the participant
|
||||
+ `409 Conflict` User already did this reaction to this message
|
||||
|
||||
- Data:
|
||||
Array with data of reactions:
|
||||
|
||||
field | type | Description
|
||||
---|---|---
|
||||
`actorType` | string | `guests` or `users`
|
||||
`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
|
||||
|
||||
## Delete a reaction
|
||||
|
||||
* Required capability: `reactions`
|
||||
|
@ -38,6 +48,16 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
|
|||
+ `400 Bad Request` In case of no reaction support, message out of reactions context or any other error
|
||||
+ `404 Not Found` When the conversation or message to react or reaction could not be found for the participant
|
||||
|
||||
- Data:
|
||||
Array with data of reactions:
|
||||
|
||||
field | type | Description
|
||||
---|---|---
|
||||
`actorType` | string | `guests` or `users`
|
||||
`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
|
||||
|
||||
## Retrieve reactions of a message by type
|
||||
|
||||
* Required capability: `reactions`
|
||||
|
|
Загрузка…
Ссылка в новой задаче