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
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-08-31 11:37:22 +0300
committerJoas Schilling <coding@schilljs.com>2019-07-24 16:14:00 +0300
commit54692ebac3e55846ee91291f81e0d9192a06a138 (patch)
treea150c8e5916461f6f766c24c7c834f4f4d1041b0 /appinfo
parente1e62a59b1025056baf658f0ebfadc123d72557f (diff)
Change read marker to work on the comment id isntead of datetime
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 90785d003..57f47e5eb 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -121,6 +121,15 @@ return [
],
],
[
+ 'name' => 'Chat#setReadMarker',
+ 'url' => '/api/{apiVersion}/chat/{token}/read',
+ 'verb' => 'POST',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ 'token' => '^[a-z0-9]{4,30}$',
+ ],
+ ],
+ [
'name' => 'Chat#mentions',
'url' => '/api/{apiVersion}/chat/{token}/mentions',
'verb' => 'GET',