diff options
author | Anna Larch <anna@nextcloud.com> | 2021-03-03 14:39:46 +0300 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2021-03-03 14:39:46 +0300 |
commit | 0109486042407aa7d11c334eb440717138ebc3a7 (patch) | |
tree | c2b891005794d706a82f3b5135c4085b60ee951a /appinfo | |
parent | f1c4d938cee68c8976393a566a10e21b4098f536 (diff) |
Add missing route for zip download
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 5 |
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' |