From fbed6a3416dd96e3698575f67dc57fc861c2ed46 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 7 Jan 2020 08:53:33 +0100 Subject: 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 --- apps/files_sharing/appinfo/routes.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/files_sharing/appinfo') 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 @@ -75,6 +75,11 @@ return [ 'url' => '/api/v1/shares', 'verb' => 'POST', ], + [ + 'name' => 'ShareAPI#pendingShares', + 'url' => '/api/v1/shares/pending', + 'verb' => 'GET', + ], [ 'name' => 'ShareAPI#getShare', 'url' => '/api/v1/shares/{id}', -- cgit v1.2.3