aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorHinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>2021-07-25 17:57:11 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-09-06 16:39:11 +0200
commit961f8958c0df8e60ca9fda88d5f46526534eecd9 (patch)
tree6bd65beefbd7012fd211fc3f491b8b567b8a822f /apps/files_sharing/appinfo
parent33a0b75c83a1c56fa84b98d3a07a26b5c4932b65 (diff)
downloadnextcloud-server-961f8958c0df8e60ca9fda88d5f46526534eecd9.tar.gz
nextcloud-server-961f8958c0df8e60ca9fda88d5f46526534eecd9.zip
Let users choose a share_folder
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/routes.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
index 7a6eec40d7e..7b6334b480b 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -9,6 +9,7 @@
* @author Lukas Reschke <lukas@statuscode.ch>
* @author Maxence Lange <maxence@artificial-owl.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
+ * @author Hinrich Mahler <nextcloud@mahlerhome.de>
*
* @license AGPL-3.0
*
@@ -83,6 +84,16 @@ return [
'verb' => 'PUT',
],
[
+ 'name' => 'Settings#setUserShareFolder',
+ 'url' => '/settings/shareFolder',
+ 'verb' => 'PUT',
+ ],
+ [
+ 'name' => 'Settings#resetUserShareFolder',
+ 'url' => '/settings/shareFolder',
+ 'verb' => 'DELETE',
+ ],
+ [
'name' => 'Accept#accept',
'url' => '/accept/{shareId}',
'verb' => 'GET',