From 0bf1152a512d72a390da3b6ae9432066db4df1fa Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 9 Feb 2015 14:23:18 +0100 Subject: [PATCH] Added route again --- apps/files_sharing/appinfo/routes.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index dd9509575b7..307b4acfcd1 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -56,3 +56,9 @@ $this->create('sharing_external_test_remote', '/testremote') '/apps/files_sharing/api/v1/shares/{id}', array('\OCA\Files_Sharing\API\Local', 'deleteShare'), 'files_sharing'); + +// Register with the capabilities API +\OC_API::register('get', + '/cloud/capabilities', + array('OCA\Files_Sharing\Capabilities', 'getCapabilities'), + 'files_sharing', \OC_API::USER_AUTH); -- 2.39.5