summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/appinfo/routes.php')
-rw-r--r--apps/files_sharing/appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
index ce7ba409199..ab5e829f86b 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -73,6 +73,11 @@ return [
'url' => '/api/v1/shares/{id}',
'verb' => 'DELETE',
],
+ [
+ 'name' => 'ShareAPI#acceptShare',
+ 'url' => '/api/v1/shares/pending/{id}',
+ 'verb' => 'POST',
+ ],
/*
* Deleted Shares
*/