From eae71a3977068b578c590982c3b9ebacf9f23074 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 26 Oct 2017 16:10:58 +0200 Subject: Split joining a room and joining a call API wise Signed-off-by: Joas Schilling --- appinfo/info.xml | 2 +- appinfo/routes.php | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'appinfo') diff --git a/appinfo/info.xml b/appinfo/info.xml index 07590aebf..60837b272 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -38,7 +38,7 @@ And in the works for the [coming versions](https://github.com/nextcloud/spreed/m https://github.com/nextcloud/spreed/issues https://github.com/nextcloud/spreed.git - 2.1.9 + 2.1.10 diff --git a/appinfo/routes.php b/appinfo/routes.php index c0aed8a5c..11f867dd6 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -221,6 +221,24 @@ return [ 'token' => '^[a-z0-9]{4,30}$', ], ], + [ + 'name' => 'Room#joinRoom', + 'url' => '/api/{apiVersion}/room/{token}/participants/active', + 'verb' => 'POST', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], + [ + 'name' => 'Room#exitRoom', + 'url' => '/api/{apiVersion}/room/{token}/participants/active', + 'verb' => 'DELETE', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], [ 'name' => 'Room#promoteModerator', 'url' => '/api/{apiVersion}/room/{token}/moderators', -- cgit v1.2.3