diff options
author | Joas Schilling <coding@schilljs.com> | 2022-01-20 14:57:09 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-01-21 15:19:49 +0100 |
commit | 189f507c5b9e88704cc6c53b94be81b0d6c0a5fd (patch) | |
tree | eb073c87c055ebb6ab9b0ce67866747b33f19a31 /appinfo/routes | |
parent | 764805f01787a19a5f19ac0f6c227f40fe449b68 (diff) |
Allow to mark a conversation as unread
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo/routes')
-rw-r--r-- | appinfo/routes/routesChatController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes/routesChatController.php b/appinfo/routes/routesChatController.php index 53253b9fe..337f478d6 100644 --- a/appinfo/routes/routesChatController.php +++ b/appinfo/routes/routesChatController.php @@ -41,6 +41,7 @@ return [ ['name' => 'Chat#clearHistory', 'url' => '/api/{apiVersion}/chat/{token}', 'verb' => 'DELETE', 'requirements' => $requirements], ['name' => 'Chat#deleteMessage', 'url' => '/api/{apiVersion}/chat/{token}/{messageId}', 'verb' => 'DELETE', 'requirements' => $requirementsWithMessageId], ['name' => 'Chat#setReadMarker', 'url' => '/api/{apiVersion}/chat/{token}/read', 'verb' => 'POST', 'requirements' => $requirements], + ['name' => 'Chat#markUnread', 'url' => '/api/{apiVersion}/chat/{token}/read', 'verb' => 'DELETE', 'requirements' => $requirements], ['name' => 'Chat#mentions', 'url' => '/api/{apiVersion}/chat/{token}/mentions', 'verb' => 'GET', 'requirements' => $requirements], ['name' => 'Chat#shareObjectToChat', 'url' => '/api/{apiVersion}/chat/{token}/share', 'verb' => 'POST', 'requirements' => $requirements], ], |