From 4a620211412f9cf1b2fc9af8fd9edfbb73eb76ae Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Sat, 26 Sep 2015 08:59:29 +0200 Subject: Move OCS endpoint ../remote_share to ../pending_shares --- apps/files_sharing/appinfo/routes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/files_sharing') diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index 375124cb730..8f7dc72f5d9 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -88,17 +88,17 @@ API::register('delete', 'files_sharing'); API::register('get', - '/apps/files_sharing/api/v1/remote_shares', + '/apps/files_sharing/api/v1/pending_shares', array('\OCA\Files_Sharing\API\Remote', 'getOpenShares'), 'files_sharing'); API::register('post', - '/apps/files_sharing/api/v1/remote_shares/{id}', + '/apps/files_sharing/api/v1/pending_shares/{id}', array('\OCA\Files_Sharing\API\Remote', 'acceptShare'), 'files_sharing'); API::register('delete', - '/apps/files_sharing/api/v1/remote_shares/{id}', + '/apps/files_sharing/api/v1/pending_shares/{id}', array('\OCA\Files_Sharing\API\Remote', 'declineShare'), 'files_sharing'); -- cgit v1.2.3