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:
authorAnna Larch <anna@nextcloud.com>2021-03-03 14:39:46 +0300
committerAnna Larch <anna@nextcloud.com>2021-03-03 14:39:46 +0300
commit0109486042407aa7d11c334eb440717138ebc3a7 (patch)
treec2b891005794d706a82f3b5135c4085b60ee951a /appinfo
parentf1c4d938cee68c8976393a566a10e21b4098f536 (diff)
Add missing route for zip download
Signed-off-by: Anna Larch <anna@nextcloud.com>
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 4b06dfa57..0f538e786 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -120,6 +120,11 @@ return [
'verb' => 'GET'
],
[
+ 'name' => 'messages#downloadAttachments',
+ 'url' => '/api/messages/{id}/attachments',
+ 'verb' => 'GET'
+ ],
+ [
'name' => 'messages#saveAttachment',
'url' => '/api/messages/{id}/attachment/{attachmentId}',
'verb' => 'POST'