Move OCS endpoint ../remote_share to ../pending_shares

remotes/origin/certificate-external-storage-visibility
Roeland Jago Douma 2015-09-26 08:59:29 +07:00
parent f891b91cf8
commit 4a62021141
1 changed files with 3 additions and 3 deletions

@ -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');