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:
authorJoachim Bauch <bauch@struktur.de>2017-07-20 14:40:49 +0300
committerJoachim Bauch <bauch@struktur.de>2017-11-02 13:23:09 +0300
commitbe33ec8d9c30b1acd0336976fd64cc0dfff96c27 (patch)
treece9b5d73e3e3b34a5dcf44c004f4963c37edb6e2 /appinfo
parentd7ef5ef868060f497e6e69617f088c69dfbb6cc3 (diff)
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 <bauch@struktur.de>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/info.xml1
-rw-r--r--appinfo/routes.php8
2 files changed, 9 insertions, 0 deletions
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
<settings>
<admin>OCA\Spreed\Settings\Admin\TurnServer</admin>
<admin>OCA\Spreed\Settings\Admin\StunServer</admin>
+ <admin>OCA\Spreed\Settings\Admin\SignalingServer</admin>
<admin-section>OCA\Spreed\Settings\Admin\Section</admin-section>
</settings>
diff --git a/appinfo/routes.php b/appinfo/routes.php
index d6bab70cc..c0aed8a5c 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -47,6 +47,14 @@ return [
],
],
[
+ 'name' => 'Signaling#backend',
+ 'url' => '/api/{apiVersion}/signaling/backend',
+ 'verb' => 'POST',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ ],
+ ],
+ [
'name' => 'Call#getPeersForCall',
'url' => '/api/{apiVersion}/call/{token}',
'verb' => 'GET',