aboutsummaryrefslogtreecommitdiffstats
path: root/apps/cloud_federation_api/appinfo/routes.php
blob: 6b0774627a4e9dbe27082aaa7ab9223ba8f6855b (plain)
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
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
return [
	'routes' => [
		[
			'name' => 'RequestHandler#addShare',
			'url' => '/shares',
			'verb' => 'POST',
			'root' => '/ocm',
		],
		[
			'name' => 'RequestHandler#receiveNotification',
			'url' => '/notifications',
			'verb' => 'POST',
			'root' => '/ocm',
		],
		//		[
		//			'name' => 'RequestHandler#inviteAccepted',
		//			'url' => '/invite-accepted',
		//			'verb' => 'POST',
		//			'root' => '/ocm',
		//		]
	],
];