mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
This patchset: * implements the /invite-accepted endpoint * adds capabilities and inviteAceptDialog to the discovery * adds a FederatedInviteAcceptedEvent https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post Co-authored-by: Anna <anna@nextcloud.com> Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Co-authored-by: Navid Shokri <navid.pdp11@gmail.com> Signed-off-by: Micke Nordin <kano@sunet.se>
30 lines
566 B
PHP
30 lines
566 B
PHP
<?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',
|
|
]
|
|
],
|
|
];
|