aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/appinfo/routes.php')
-rw-r--r--apps/files_sharing/appinfo/routes.php40
1 files changed, 9 insertions, 31 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php
index 7b6334b480b..f9e10ebb106 100644
--- a/apps/files_sharing/appinfo/routes.php
+++ b/apps/files_sharing/appinfo/routes.php
@@ -1,30 +1,9 @@
<?php
+
/**
- * @copyright Copyright (c) 2016, ownCloud, Inc.
- *
- * @author Björn Schießle <bjoern@schiessle.org>
- * @author Christoph Wurst <christoph@winzerhof-wurst.at>
- * @author Joas Schilling <coding@schilljs.com>
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- * @author Lukas Reschke <lukas@statuscode.ch>
- * @author Maxence Lange <maxence@artificial-owl.com>
- * @author Roeland Jago Douma <roeland@famdouma.nl>
- * @author Hinrich Mahler <nextcloud@mahlerhome.de>
- *
- * @license AGPL-3.0
- *
- * This code is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License, version 3,
- * along with this program. If not, see <http://www.gnu.org/licenses/>
- *
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
*/
return [
'resources' => [
@@ -62,12 +41,6 @@ return [
'verb' => 'GET',
'root' => '',
],
-
- [
- 'name' => 'externalShares#testRemote',
- 'url' => '/testremote',
- 'verb' => 'GET'
- ],
[
'name' => 'PublicPreview#getPreview',
'url' => '/publicpreview/{token}',
@@ -139,6 +112,11 @@ return [
'verb' => 'DELETE',
],
[
+ 'name' => 'ShareAPI#sendShareEmail',
+ 'url' => '/api/v1/shares/{id}/send-email',
+ 'verb' => 'POST',
+ ],
+ [
'name' => 'ShareAPI#acceptShare',
'url' => '/api/v1/shares/pending/{id}',
'verb' => 'POST',