From 0bce79bc9c77839cfeafd9db7b52a7c160e4ff3e Mon Sep 17 00:00:00 2001 From: nadir Date: Fri, 4 Mar 2016 11:42:47 +0100 Subject: [PATCH] Missing diff for previous commit --- apps/files_sharing/appinfo/routes.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index 2f367b801d66..6b6ce00e312a 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -56,3 +56,19 @@ function() { '/apps/files_sharing/api/v1/shares/{id}', array('\OCA\Files_Sharing\API\Local', 'deleteShare'), 'files_sharing'); + +\OC_API::register('get', + '/apps/files_sharing/api/v1old/shares', + array('\OCA\Files_Sharing\API\Local', 'getAllShares'), + 'files_sharing'); + +\OC_API::register('post', + '/apps/files_sharing/api/v1old/shares', + array('\OCA\Files_Sharing\API\Local', 'createShare'), + 'files_sharing'); + +\OC_API::register('get', + '/apps/files_sharing/api/v1old/shares/{id}', + array('\OCA\Files_Sharing\API\Local', 'getShare'), + 'files_sharing'); + \ No newline at end of file