1
0

routes.php 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  6. * SPDX-License-Identifier: AGPL-3.0-only
  7. */
  8. return [
  9. 'routes' => [
  10. [
  11. 'name' => 'Recovery#adminRecovery',
  12. 'url' => '/ajax/adminRecovery',
  13. 'verb' => 'POST'
  14. ],
  15. [
  16. 'name' => 'Settings#updatePrivateKeyPassword',
  17. 'url' => '/ajax/updatePrivateKeyPassword',
  18. 'verb' => 'POST'
  19. ],
  20. [
  21. 'name' => 'Settings#setEncryptHomeStorage',
  22. 'url' => '/ajax/setEncryptHomeStorage',
  23. 'verb' => 'POST'
  24. ],
  25. [
  26. 'name' => 'Recovery#changeRecoveryPassword',
  27. 'url' => '/ajax/changeRecoveryPassword',
  28. 'verb' => 'POST'
  29. ],
  30. [
  31. 'name' => 'Recovery#userSetRecovery',
  32. 'url' => '/ajax/userSetRecovery',
  33. 'verb' => 'POST'
  34. ],
  35. [
  36. 'name' => 'Status#getStatus',
  37. 'url' => '/ajax/getStatus',
  38. 'verb' => 'GET'
  39. ],
  40. ]
  41. ];