summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-08-01 17:36:42 +0200
committerJoas Schilling <coding@schilljs.com>2023-08-02 21:07:39 +0200
commitcd280e1272c5f353d22a90560336ec94cec6ce1f (patch)
treeab999a266113ca4ba5d7bd6aa6a7b481f9d08df8 /docs
parentfa4ccc4407c0ddc76da467ee62453bb2c5403372 (diff)
feat: Add actions to the notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/chat.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/chat.md b/docs/chat.md
index 19967d18e..c69f67684 100644
--- a/docs/chat.md
+++ b/docs/chat.md
@@ -319,6 +319,20 @@ See [OCP\RichObjectStrings\Definitions](https://github.com/nextcloud/server/blob
+ `404 Not Found` When the room could not be found for the participant,
or the participant is a guest.
+## Delete reminder notification
+
+* Required capability: `remind-me-later`
+* Method: `DELETE`
+* Endpoint: `/chat/{token}/{messageId}/reminder`
+
+* Response:
+ - Status code:
+ + `200 OK`
+ + `401 Unauthorized` when the user is not logged in
+ + `404 Not Found` When the message could not be found in the room
+ + `404 Not Found` When the room could not be found for the participant,
+ or the participant is a guest.
+
## Mark chat as read
* Required capability: `chat-read-marker`