aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/appinfo/routes.php')
-rw-r--r--apps/files/appinfo/routes.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index 26fce8d1713..6f8a6878aac 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -92,6 +92,33 @@ $application->registerRoutes(
'url' => '/api/v1/quickaccess/get/NodeType',
'verb' => 'GET',
],
+ [
+ 'name' => 'DirectEditingView#edit',
+ 'url' => '/directEditing/{token}',
+ 'verb' => 'GET'
+ ],
+ ],
+ 'ocs' => [
+ [
+ 'name' => 'DirectEditing#get',
+ 'url' => '/api/v1/directEditing',
+ 'verb' => 'GET'
+ ],
+ [
+ 'name' => 'DirectEditing#templates',
+ 'url' => '/api/v1/directEditing/templates/{editorId}/{creatorId}',
+ 'verb' => 'GET'
+ ],
+ [
+ 'name' => 'DirectEditing#open',
+ 'url' => '/api/v1/directEditing/open',
+ 'verb' => 'POST'
+ ],
+ [
+ 'name' => 'DirectEditing#create',
+ 'url' => '/api/v1/directEditing/create',
+ 'verb' => 'POST'
+ ],
]
]
);