summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-10 10:41:59 +0200
committerJulius Härtl <jus@bitgrid.net>2022-08-31 16:20:05 +0200
commitde3e541fde5c1ac2f71368127474341e730e4030 (patch)
tree9b4a925f6df1c5c6c3d80b89ff9aae9818461075 /core/routes.php
parent650b809a03017bd624fe31c92387c91c1122a393 (diff)
downloadnextcloud-server-de3e541fde5c1ac2f71368127474341e730e4030.tar.gz
nextcloud-server-de3e541fde5c1ac2f71368127474341e730e4030.zip
API for fetching reference metadata
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index bfc614935e1..aef121591e3 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -120,6 +120,9 @@ $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' => 'Reference#extract', 'url' => '/extract', 'verb' => 'POST'],
+ ['root' => '/references', 'name' => 'Reference#resolve', 'url' => '/resolve', 'verb' => 'POST'],
+
['root' => '/profile', 'name' => 'ProfileApi#setVisibility', 'url' => '/{targetUserId}', 'verb' => 'PUT'],
// Unified search