summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-02 16:56:03 +0100
committerJoas Schilling <coding@schilljs.com>2023-01-04 17:35:22 +0100
commit05abd198c00c39fe7b51234f46938bcddfea22b7 (patch)
tree178b38012a84ee11c76e2fc602033e524bab7e58 /docs
parent249a34da965a6169b373f4cc4e212711684065e4 (diff)
Allow to apply a new attendee map later on
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/breakout-rooms.md22
1 files changed, 21 insertions, 1 deletions
diff --git a/docs/breakout-rooms.md b/docs/breakout-rooms.md
index a94f5ba48..84422cd3e 100644
--- a/docs/breakout-rooms.md
+++ b/docs/breakout-rooms.md
@@ -32,7 +32,7 @@ Group and public conversations can be used to host breakout rooms.
+ `400 Bad Request` When the conversation is a breakout room itself
+ `400 Bad Request` When the mode is invalid
+ `400 Bad Request` When the amount is below the minimum or above the maximum
- + `400 Bad Request` When the attendee map contains an invalid room number
+ + `400 Bad Request` When the attendee map contains an invalid room number or moderator
+ `403 Forbidden` When the current user is not a moderator/owner
+ `404 Not Found` When the conversation could not be found for the participant
@@ -94,6 +94,26 @@ Group and public conversations can be used to host breakout rooms.
+ `404 Not Found` When the conversation could not be found for the participant
+ `413 Payload Too Large` When the message was longer than the allowed limit of 32000 characters (check the `spreed => config => chat => max-length` capability for the limit)
+## Configure breakout rooms
+
+* Required capability: `breakout-rooms-v1`
+* Method: `POST`
+* Endpoint: `/breakout-rooms/{token}/attendees`
+* Data:
+
+| field | type | Description |
+|---------------|--------|------------------------------------------------------------------------------------------------------|
+| `attendeeMap` | string | A json encoded Map of attendeeId => room number (0 based) (Only considered when the mode is "manual" |
+
+* Response:
+ - Status code:
+ + `200 OK`
+ + `400 Bad Request` When breakout rooms are disabled on the server
+ + `400 Bad Request` When breakout rooms are not configured
+ + `400 Bad Request` When the attendee map contains an invalid room number or moderator
+ + `403 Forbidden` When the current user is not a moderator/owner
+ + `404 Not Found` When the conversation could not be found for the participant
+
## Request assistance
This endpoint allows participants to raise their hand (token is the breakout room) and moderators will see it in any of the breakout rooms as well as the parent room.