Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-04-13 21:28:28 +0300
committerJulius Härtl <jus@bitgrid.net>2019-04-13 21:28:28 +0300
commit1bdb0ff3eaa0f8a874bbf306ca5fe8a45f8e6ff4 (patch)
tree69363d95e38dc7b02a55c4e2cf3a9149f75cbb46 /appinfo/routes.php
parent66adbbbe655ef62f1545a39c2bf31630455af8da (diff)
Add first working version of collaborative editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 468b47616..ff8413314 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -7,11 +7,18 @@ return [
'routes' => [
['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'],
+ // Setup a new session
['name' => 'Session#create', 'url' => '/session/create', 'verb' => 'GET'],
- ['name' => 'Sync#sync', 'url' => '/session/sync', 'verb' => 'GET'],
- ['name' => 'Session#push', 'url' => '/session/push', 'verb' => 'GET'],
- ['name' => 'Session#get', 'url' => '/session/get', 'verb' => 'GET'],
+ // Load initial document
+ ['name' => 'Session#fetch', 'url' => '/session/fetch', 'verb' => 'GET'],
+ // Load steps
+ ['name' => 'Session#sync', 'url' => '/session/sync', 'verb' => 'GET'],
+ // Push own steps
+ ['name' => 'Session#push', 'url' => '/session/push', 'verb' => 'POST'],
+ // Close session
['name' => 'Session#close', 'url' => '/session/close', 'verb' => 'GET'],
+ //['name' => 'Session#get', 'url' => '/session/get', 'verb' => 'GET'],
+
]
];