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-04-19 11:13:35 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-04-19 11:13:35 +0300
commit79198f8375f26425b2b9395a7014c3ffc6881583 (patch)
tree899699ba6b6a2473405ec665c267c0ed26ddc8c1 /appinfo
parent36ed424ed6aae5d67829aacc04edf48d54e0d501 (diff)
Make it possible to create subfolders and show folder stats
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 37aa4e3df..f62548940 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -54,6 +54,11 @@ return [
'verb' => 'GET'
],
[
+ 'name' => 'folders#stats',
+ 'url' => '/api/accounts/{accountId}/folders/{folderId}/stats',
+ 'verb' => 'GET'
+ ],
+ [
'name' => 'messages#downloadAttachment',
'url' => '/api/accounts/{accountId}/folders/{folderId}/messages/{messageId}/attachment/{attachmentId}',
'verb' => 'GET'