for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?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) {
public function share($noteid, $shareType, $shareWith, $publicUpload, $password, $permissions) {
public function unshare($itemSource, $shareType, $shareWith) {
public function setpermissions($itemSource, $shareType, $shareWith, $permissions) {