| 1 | <?php |
||
| 18 | class ShareApiController extends ApiController { |
||
| 19 | |||
| 20 | public function __construct($appName, IRequest $request) { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @NoAdminRequired |
||
| 26 | * @NoCSRFRequired |
||
| 27 | */ |
||
| 28 | public function getShares($noteid, $shared_with_me, $reshares) { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @NoAdminRequired |
||
| 34 | * @NoCSRFRequired |
||
| 35 | */ |
||
| 36 | public function share($noteid, $shareType, $shareWith, $publicUpload, $password, $permissions) { |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @NoAdminRequired |
||
| 42 | * @NoCSRFRequired |
||
| 43 | */ |
||
| 44 | public function unshare($itemSource, $shareType, $shareWith) { |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @NoAdminRequired |
||
| 50 | * @NoCSRFRequired |
||
| 51 | */ |
||
| 52 | public function setpermissions($itemSource, $shareType, $shareWith, $permissions) { |
||
| 55 | } |