Added route again
This commit is contained in:
parent
39b0f0725e
commit
0bf1152a51
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue