routes.php 323 B

123456789101112131415161718
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016 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' => 'Preview#getPreview',
  12. 'url' => '/preview',
  13. 'verb' => 'GET',
  14. ],
  15. ],
  16. ];