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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-08 15:16:00 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-08 15:33:57 +0300
commit5b91b1f5b4df2e5603b3facba0b77bf4bcd8612f (patch)
treed00a9f7fb27c9dde531ed82a8e79e9238aff12f9 /appinfo
parent4b519d5b6dd4d1260f133ee4b977a6bd2829fee1 (diff)
Make it possible to mark a folder as read
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index f62548940..c8711a065 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -54,6 +54,11 @@ return [
'verb' => 'GET'
],
[
+ 'name' => 'folders#markAllAsRead',
+ 'url' => '/api/accounts/{accountId}/folders/{folderId}/read',
+ 'verb' => 'POST'
+ ],
+ [
'name' => 'folders#stats',
'url' => '/api/accounts/{accountId}/folders/{folderId}/stats',
'verb' => 'GET'