From 189b994eb5ae4770c90c47f7ab27e5e6d162a7d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Mon, 31 May 2021 21:34:28 +0200 Subject: Add endpoint to set publishing permissions of attendees MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only moderators of group and public conversations can set the value. Signed-off-by: Daniel Calviño Sánchez --- appinfo/routes.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'appinfo') diff --git a/appinfo/routes.php b/appinfo/routes.php index 83f76f137..13dc7f1f4 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -344,6 +344,15 @@ return [ 'token' => '^[a-z0-9]{4,30}$', ], ], + [ + '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', -- cgit v1.2.3