summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2023-01-12 15:47:20 +0100
committerJulius Härtl <jus@bitgrid.net>2023-01-27 11:10:56 +0100
commit946a1af9fd20d12a2ee6240ad2ae24827a22278c (patch)
treed7add9a58d1d7830d3c6948c167b32902a52b5ec /core/routes.php
parent6431c5a559a1361ae9148adf22b21630b8a37431 (diff)
downloadnextcloud-server-946a1af9fd20d12a2ee6240ad2ae24827a22278c.tar.gz
nextcloud-server-946a1af9fd20d12a2ee6240ad2ae24827a22278c.zip
add 'last used timestamp' management for reference providers
Signed-off-by: Julien Veyssier <julien-nc@posteo.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 4b67dee43f9..dcf8e4024af 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -135,6 +135,7 @@ $application->registerRoutes($this, [
['root' => '/references', 'name' => 'ReferenceApi#extract', 'url' => '/extract', 'verb' => 'POST'],
['root' => '/references', 'name' => 'ReferenceApi#resolve', 'url' => '/resolve', 'verb' => 'POST'],
['root' => '/references', 'name' => 'ReferenceApi#getProvidersInfo', 'url' => '/providers', 'verb' => 'GET'],
+ ['root' => '/references', 'name' => 'ReferenceApi#touchProvider', 'url' => '/provider/{providerId}', 'verb' => 'PUT'],
['root' => '/profile', 'name' => 'ProfileApi#setVisibility', 'url' => '/{targetUserId}', 'verb' => 'PUT'],