diff options
author | Joas Schilling <coding@schilljs.com> | 2021-09-23 15:29:29 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-10-07 18:18:30 +0200 |
commit | 6a1b510916ab81c324c2232fa97a7431d578ccbd (patch) | |
tree | 3543fbcd3037ed7ab95ed5cd9017d9b0ed94a19c /appinfo | |
parent | 1b13f80cc119eb386afe72866e6f4f8f9537c471 (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.php | 10 |
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', |