Skip to content

Commit

Permalink
Missing diff for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nadir committed Mar 4, 2016
1 parent 7adfd98 commit 0bce79b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions apps/files_sharing/appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,19 @@ function() {
'/apps/files_sharing/api/v1/shares/{id}',
array('\OCA\Files_Sharing\API\Local', 'deleteShare'),
'files_sharing');

\OC_API::register('get',
'/apps/files_sharing/api/v1old/shares',
array('\OCA\Files_Sharing\API\Local', 'getAllShares'),
'files_sharing');

\OC_API::register('post',
'/apps/files_sharing/api/v1old/shares',
array('\OCA\Files_Sharing\API\Local', 'createShare'),
'files_sharing');

\OC_API::register('get',
'/apps/files_sharing/api/v1old/shares/{id}',
array('\OCA\Files_Sharing\API\Local', 'getShare'),
'files_sharing');

0 comments on commit 0bce79b

Please sign in to comment.