diff options
author | Joas Schilling <coding@schilljs.com> | 2022-12-08 11:54:45 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-12-12 12:08:24 +0100 |
commit | a0ab39389fc849610c9e3faf89ea414f701ab0bf (patch) | |
tree | 652c2beb223128b91fbeb346b47c377eca26c763 /appinfo | |
parent | d390d3bec3b0efddf580a4e45c527430b1c4c830 (diff) |
Add an API that allows students and teachers so list the breakout rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes/routesRoomController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes/routesRoomController.php b/appinfo/routes/routesRoomController.php index 3cc483c01..9bbe59a94 100644 --- a/appinfo/routes/routesRoomController.php +++ b/appinfo/routes/routesRoomController.php @@ -42,6 +42,8 @@ return [ ['name' => 'Room#createRoom', 'url' => '/api/{apiVersion}/room', 'verb' => 'POST', 'requirements' => $requirements], /** @see \OCA\Talk\Controller\RoomController::getSingleRoom() */ ['name' => 'Room#getSingleRoom', 'url' => '/api/{apiVersion}/room/{token}', 'verb' => 'GET', 'requirements' => $requirementsWithToken], + /** @see \OCA\Talk\Controller\RoomController::getBreakoutRooms() */ + ['name' => 'Room#getBreakoutRooms', 'url' => '/api/{apiVersion}/room/{token}/breakout-rooms', 'verb' => 'GET', 'requirements' => $requirementsWithToken], /** @see \OCA\Talk\Controller\RoomController::renameRoom() */ ['name' => 'Room#renameRoom', 'url' => '/api/{apiVersion}/room/{token}', 'verb' => 'PUT', 'requirements' => $requirementsWithToken], /** @see \OCA\Talk\Controller\RoomController::deleteRoom() */ |