Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-11 15:22:03 +0300
committerJoas Schilling <coding@schilljs.com>2017-07-17 12:05:51 +0300
commit451bd8e82b5a9644862367dc5952e87a1802496f (patch)
treed410fd95709eb9c9a4056e10b83a35fc007fa173 /appinfo
parent96f762e92d313a37628938ac0e280d3b09f73742 (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.php9
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',