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>2021-09-23 16:29:29 +0300
committerJoas Schilling <coding@schilljs.com>2021-10-07 19:18:30 +0300
commit6a1b510916ab81c324c2232fa97a7431d578ccbd (patch)
tree3543fbcd3037ed7ab95ed5cd9017d9b0ed94a19c /appinfo
parent1b13f80cc119eb386afe72866e6f4f8f9537c471 (diff)
Allow to explicitly set the default and call permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 2ef993e5a..7e155a0bb 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -318,6 +318,16 @@ return [
],
],
[
+ 'name' => 'Room#setPermissions',
+ 'url' => '/api/{apiVersion}/room/{token}/permissions/{mode}',
+ 'verb' => 'PUT',
+ 'requirements' => [
+ 'apiVersion' => 'v(4)',
+ 'token' => '^[a-z0-9]{4,30}$',
+ 'mode' => '^(call|default)$',
+ ],
+ ],
+ [
'name' => 'Room#getParticipants',
'url' => '/api/{apiVersion}/room/{token}/participants',
'verb' => 'GET',