diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-11 15:22:03 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-07-17 12:05:51 +0300 |
commit | 451bd8e82b5a9644862367dc5952e87a1802496f (patch) | |
tree | d410fd95709eb9c9a4056e10b83a35fc007fa173 /appinfo | |
parent | 96f762e92d313a37628938ac0e280d3b09f73742 (diff) |
Endpoint to remove a user from a room
Signed-off-by: Joas Schilling <coding@schilljs.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 40b96225f..794dfdf5d 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -140,6 +140,15 @@ return [ ], ], [ + 'name' => 'Room#removeParticipantFromRoom', + 'url' => '/api/{apiVersion}/room/{token}/participants', + 'verb' => 'DELETE', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], + [ 'name' => 'Room#removeSelfFromRoom', 'url' => '/api/{apiVersion}/room/{token}/participants/self', 'verb' => 'DELETE', |