aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-09-26 17:23:11 +0200
committerJulius Härtl <jus@bitgrid.net>2022-09-26 17:44:49 +0200
commit5fa7563bf95f394ebcacc16879323e7e6ebbeaac (patch)
tree50fcfac2e65ceb33a8c631628e6772c130a9ee3f /core/routes.php
parent8eb03e712aedc7c768c1d827732b957100eb22c3 (diff)
downloadnextcloud-server-5fa7563bf95f394ebcacc16879323e7e6ebbeaac.tar.gz
nextcloud-server-5fa7563bf95f394ebcacc16879323e7e6ebbeaac.zip
Add endpoint to fetch a cachable reference data
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index 5e08213828d..820db44bf90 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -123,6 +123,7 @@ $application->registerRoutes($this, [
['root' => '/collaboration', 'name' => 'CollaborationResources#getCollectionsByResource', 'url' => '/resources/{resourceType}/{resourceId}', 'verb' => 'GET'],
['root' => '/collaboration', 'name' => 'CollaborationResources#createCollectionOnResource', 'url' => '/resources/{baseResourceType}/{baseResourceId}', 'verb' => 'POST'],
+ ['root' => '/references', 'name' => 'ReferenceApi#resolveOne', 'url' => '/resolve', 'verb' => 'GET'],
['root' => '/references', 'name' => 'ReferenceApi#extract', 'url' => '/extract', 'verb' => 'POST'],
['root' => '/references', 'name' => 'ReferenceApi#resolve', 'url' => '/resolve', 'verb' => 'POST'],