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

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-08-13 10:45:03 +0300
committerJulius Härtl <jus@bitgrid.net>2021-08-13 14:55:41 +0300
commit95985564d0113c380ae16e89bafb1c85ba87bf15 (patch)
treee916bab7391dc855cc8b9aa2fbcf5935a5c32d48 /appinfo/routes.php
parent95a559512f53314ad8cc9d91683936e64ec8f921 (diff)
Add API to set the guest name for an existing WOPI token
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 02c0baf8..877616dd 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -73,6 +73,8 @@ return [
['name' => 'OCS#getTemplates', 'url' => '/api/v1/templates/{type}', 'verb' => 'GET'],
['name' => 'OCS#createFromTemplate', 'url' => '/api/v1/templates/new', 'verb' => 'POST'],
+ ['name' => 'OCS#updateGuestName', 'url' => '/api/v1/wopi/guestname', 'verb' => 'POST'],
+
['name' => 'Federation#index', 'url' => '/api/v1/federation', 'verb' => 'GET'],
['name' => 'Federation#remoteWopiToken', 'url' => '/api/v1/federation', 'verb' => 'POST'],
['name' => 'Federation#initiatorUser', 'url' => '/api/v1/federation/user', 'verb' => 'POST'],