summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-29 14:15:31 +0100
committerJoas Schilling <coding@schilljs.com>2020-10-30 10:38:53 +0100
commitfcc296acb17aad14e041eccbd8e1ca3037ccc2ae (patch)
tree3e7db1fab4b08b6b26e2571cd7d9a82c898e328b /appinfo
parent6996121c23afc68850d4e83c8f7fdae587dccecb (diff)
Add an endpoint to delete a participant by attendee id
Signed-off-by: Joas Schilling <coding@schilljs.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 11f77f378..a97fc9fb1 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -300,6 +300,15 @@ return [
],
],
[
+ 'name' => 'Room#removeAttendeeFromRoom',
+ 'url' => '/api/{apiVersion}/room/{token}/attendees',
+ 'verb' => 'DELETE',
+ 'requirements' => [
+ 'apiVersion' => 'v3',
+ 'token' => '^[a-z0-9]{4,30}$',
+ ],
+ ],
+ [
'name' => 'Room#joinRoom',
'url' => '/api/{apiVersion}/room/{token}/participants/active',
'verb' => 'POST',