summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2021-05-31 21:34:28 +0200
committerJoas Schilling <coding@schilljs.com>2021-06-11 09:07:29 +0200
commit189b994eb5ae4770c90c47f7ab27e5e6d162a7d6 (patch)
treef675eef76dae5e05f0645badaa3134ca8255145c /appinfo
parentd2c291a1b5253a99685e44e50e951e3ec8fbe184 (diff)
Add endpoint to set publishing permissions of attendees
Only moderators of group and public conversations can set the value. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.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 83f76f137..13dc7f1f4 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -345,6 +345,15 @@ return [
],
],
[
+ 'name' => 'Room#setAttendeePublishingPermissions',
+ 'url' => '/api/{apiVersion}/room/{token}/attendees/publishing-permissions',
+ 'verb' => 'PUT',
+ 'requirements' => [
+ 'apiVersion' => 'v(4)',
+ 'token' => '^[a-z0-9]{4,30}$',
+ ],
+ ],
+ [
'name' => 'Room#joinRoom',
'url' => '/api/{apiVersion}/room/{token}/participants/active',
'verb' => 'POST',