diff options
author | Joas Schilling <coding@schilljs.com> | 2019-06-27 21:19:22 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-08-28 11:28:05 +0300 |
commit | d8563f8824c4f27b3eb73b8e05e92a35e6ad8494 (patch) | |
tree | 6822b6ecffeb55935c78d251d143eda2942cb193 /appinfo | |
parent | 8524f184f1a56cb249427e285ede12f5422561ff (diff) |
Add an API endpoint to set the lobby state
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 57f47e5eb..0b2bb4535 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -392,6 +392,19 @@ return [ 'id' => '^\d+$', ], ], + + /** + * Webinary + */ + [ + 'name' => 'Webinary#setLobbyState', + 'url' => '/api/{apiVersion}/room/{token}/webinary/lobby', + 'verb' => 'PUT', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], ], ]; |