aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-11-27 14:36:07 +0100
committerJulius Härtl <jus@bitgrid.net>2019-11-27 19:56:45 +0100
commitbde624b07423de4a6b9e3aaae6371cd4f886c2de (patch)
treeef1855174a172091b43c9041379073776ed69aa2 /apps/files/appinfo
parentfb1b88ac63bbc171104559ce3a5ea0d84791249e (diff)
downloadnextcloud-server-bde624b07423de4a6b9e3aaae6371cd4f886c2de.tar.gz
nextcloud-server-bde624b07423de4a6b9e3aaae6371cd4f886c2de.zip
Only expose link to info endpoint in capabilties
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index f900b5ffbd8..9d889fe0e69 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -100,6 +100,11 @@ $application->registerRoutes(
],
'ocs' => [
[
+ 'name' => 'DirectEditing#info',
+ 'url' => '/api/v1/directEditing',
+ 'verb' => 'GET'
+ ],
+ [
'name' => 'DirectEditing#templates',
'url' => '/api/v1/directEditing/templates/{editorId}/{creatorId}',
'verb' => 'GET'