routes.php 590 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. return [
  8. 'routes' => [
  9. [
  10. 'name' => 'RequestHandler#addShare',
  11. 'url' => '/shares',
  12. 'verb' => 'POST',
  13. 'root' => '/ocm',
  14. ],
  15. [
  16. 'name' => 'RequestHandler#receiveNotification',
  17. 'url' => '/notifications',
  18. 'verb' => 'POST',
  19. 'root' => '/ocm',
  20. ],
  21. // [
  22. // 'name' => 'RequestHandler#inviteAccepted',
  23. // 'url' => '/invite-accepted',
  24. // 'verb' => 'POST',
  25. // 'root' => '/ocm',
  26. // ]
  27. ],
  28. ];