From be33ec8d9c30b1acd0336976fd64cc0dfff96c27 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Thu, 20 Jul 2017 13:40:49 +0200 Subject: Implement backend APIs to be used by standalone signaling server. A standalone signaling server can be configured in the admin UI and is notified through the BackendController on changes that should be sent to connected clients. See #339 for a description of the backend API. Signed-off-by: Joachim Bauch --- appinfo/info.xml | 1 + appinfo/routes.php | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'appinfo') diff --git a/appinfo/info.xml b/appinfo/info.xml index 1795b53b3..fdf9cd018 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -59,6 +59,7 @@ And in the works for the [coming versions](https://github.com/nextcloud/spreed/m OCA\Spreed\Settings\Admin\TurnServer OCA\Spreed\Settings\Admin\StunServer + OCA\Spreed\Settings\Admin\SignalingServer OCA\Spreed\Settings\Admin\Section diff --git a/appinfo/routes.php b/appinfo/routes.php index d6bab70cc..c0aed8a5c 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -46,6 +46,14 @@ return [ 'apiVersion' => 'v1', ], ], + [ + 'name' => 'Signaling#backend', + 'url' => '/api/{apiVersion}/signaling/backend', + 'verb' => 'POST', + 'requirements' => [ + 'apiVersion' => 'v1', + ], + ], [ 'name' => 'Call#getPeersForCall', 'url' => '/api/{apiVersion}/call/{token}', -- cgit v1.2.3