diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-14 16:55:39 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-27 14:36:20 +0100 |
commit | e52793c69ef3633f23a93f4358c361431f401569 (patch) | |
tree | 06ea3158ebae71afe8252252cd906f641a647625 /apps/files/appinfo | |
parent | 0532f8116da1ed92b973c8842c4d18f084255820 (diff) | |
download | nextcloud-server-e52793c69ef3633f23a93f4358c361431f401569.tar.gz nextcloud-server-e52793c69ef3633f23a93f4358c361431f401569.zip |
Direct editing API to allow file editing using a one-time token for
mobile apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/info.xml | 2 | ||||
-rw-r--r-- | apps/files/appinfo/routes.php | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/apps/files/appinfo/info.xml b/apps/files/appinfo/info.xml index 7f3b3a5fcae..d8c61d0f456 100644 --- a/apps/files/appinfo/info.xml +++ b/apps/files/appinfo/info.xml @@ -5,7 +5,7 @@ <name>Files</name> <summary>File Management</summary> <description>File Management</description> - <version>1.13.0</version> + <version>1.13.1</version> <licence>agpl</licence> <author>Robin Appelman</author> <author>Vincent Petry</author> 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' + ], ] ] ); |