forked from brantje/nextnote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshareapicontroller.php
55 lines (42 loc) · 1 KB
/
shareapicontroller.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* ownCloud - nextnote
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Ben Curtis <[email protected]>
* @copyright Ben Curtis 2015
*/
namespace OCA\NextNote\Controller;
use \OCP\AppFramework\ApiController;
use \OCP\IRequest;
class ShareApiController extends ApiController {
public function __construct($appName, IRequest $request) {
parent::__construct($appName, $request);
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function getShares($noteid, $shared_with_me, $reshares) {
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function share($noteid, $shareType, $shareWith, $publicUpload, $password, $permissions) {
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function unshare($itemSource, $shareType, $shareWith) {
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function setpermissions($itemSource, $shareType, $shareWith, $permissions) {
}
}