aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-01-07 08:53:33 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-01-07 08:53:33 +0100
commitfbed6a3416dd96e3698575f67dc57fc861c2ed46 (patch)
treef678afb92247f76597eeeb1fa1a5cac17a78acd0 /apps/files_sharing/appinfo
parent4c841559e16f7e5714e42f41ecd339fd6c135d7a (diff)
downloadnextcloud-server-fbed6a3416dd96e3698575f67dc57fc861c2ed46.tar.gz
nextcloud-server-fbed6a3416dd96e3698575f67dc57fc861c2ed46.zip
A pending shares overview
Now that we accept shares we should show an overview of shares that are pending. This first part is the small API to get a list of the currently pending shares. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/appinfo')
-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 ad3d11fc3a1..1346e0c6899 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -76,6 +76,11 @@ return [
'verb' => 'POST',
],
[
+ 'name' => 'ShareAPI#pendingShares',
+ 'url' => '/api/v1/shares/pending',
+ 'verb' => 'GET',
+ ],
+ [
'name' => 'ShareAPI#getShare',
'url' => '/api/v1/shares/{id}',
'verb' => 'GET',