Skip to content

Commit

Permalink
Move OCS endpoint ../remote_share to ../pending_shares
Browse files Browse the repository at this point in the history
  • Loading branch information
rullzer committed Oct 1, 2015
1 parent 64994fa commit b810626
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/files_sharing/appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@ function() {
'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');

Expand Down

0 comments on commit b810626

Please sign in to comment.