diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-05-31 22:34:28 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-11 10:07:29 +0300 |
commit | 189b994eb5ae4770c90c47f7ab27e5e6d162a7d6 (patch) | |
tree | f675eef76dae5e05f0645badaa3134ca8255145c /appinfo | |
parent | d2c291a1b5253a99685e44e50e951e3ec8fbe184 (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.php | 9 |
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', |