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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-03-19 18:31:02 +0300
committerJoas Schilling <coding@schilljs.com>2019-03-25 17:17:20 +0300
commit695b757754d4811e00c048b51f0333bdd9843e21 (patch)
treee8f332f21424a2b8592840a6bbf77cd6437cc800 /appinfo
parentc739c36c8be87a69d500a819be7423e3c5b692fa (diff)
Allow setting the read-only state of a room
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 63255e4d4..90785d003 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -191,6 +191,15 @@ return [
],
],
[
+ 'name' => 'Room#setReadOnly',
+ 'url' => '/api/{apiVersion}/room/{token}/read-only',
+ 'verb' => 'PUT',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ 'token' => '^[a-z0-9]{4,30}$',
+ ],
+ ],
+ [
'name' => 'Room#setPassword',
'url' => '/api/{apiVersion}/room/{token}/password',
'verb' => 'PUT',