]> source.dussan.org Git - nextcloud-server.git/commitdiff
Added route again
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 9 Feb 2015 13:23:18 +0000 (14:23 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 11 Mar 2015 14:02:55 +0000 (15:02 +0100)
apps/files_sharing/appinfo/routes.php

index dd9509575b7a011c839b0d33f83326cdd858c879..307b4acfcd12f8434a775a6bfd75d83ca848a95e 100644 (file)
@@ -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);