mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 17:52:02 -04:00
This patchset implements the /invite-accepted endpoint https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post Also normalize names of columns, and populate them all Inspo from: - apps/dav/lib/Migration/Version1005Date20180413093149.php - https://saturncloud.io/blog/what-is-the-maximum-length-of-a-url-in-different-browsers/#maximum-url-length-in-different-browsers - https://www.directedignorance.com/blog/maximum-length-of-email-address 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',
|
|
]
|
|
],
|
|
];
|