mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
2.5 KiB
2.5 KiB
Webinar management
Group and public conversations can be used to host webinars. Those online meetings can have a lobby, which come with the following restrictions:
- Only moderators can start/join a call
- Only moderators can read and write chat messages
- Normal users can only join the room. They then pull the room endpoint regularly for an update and should start the chat and signaling as well as allowing to join the call, once the lobby got disabled.
Base endpoint
- API v1: ๐ Removed with API v4: Nextcloud 17 - 21
- API v2: ๐ Removed with API v4: Nextcloud 19 - 21
- API v3: ๐ Removed with API v4: Nextcloud 21 only
- API v4: Base endpoint
/ocs/v2.php/apps/spreed/api/v4: since Nextcloud 22
Set lobby for a conversation
- Required capability:
webinary-lobby - Method:
PUT - Endpoint:
/room/{token}/webinar/lobby - Data:
| field | type | Description |
|---|---|---|
state |
int | New state for the conversation |
timer |
int/null | Timestamp when the lobby state is reset to no lobby |
- Response:
-
Status code:
200 OK400 Bad RequestWhen the conversation type does not support lobby (only group and public conversation atm)400 Bad RequestWhen the given timestamp is invalid403 ForbiddenWhen the current user is not a moderator/owner404 Not FoundWhen the conversation could not be found for the participant
-
Data: See array definition in Get userยดs conversations
-
Enabled or disable SIP dial-in
- Required capability:
sip-support - Method:
PUT - Endpoint:
/room/{token}/webinar/sip - Data:
| field | type | Description |
|---|---|---|
state |
int | New SIP state for the conversation (0 = disabled, 1 = enabled) |
- Response:
-
Status code:
200 OK400 Bad RequestWhen the state was invalid or the same401 UnauthorizedWhen the user can not enabled SIP403 ForbiddenWhen the current user is not a moderator/owner404 Not FoundWhen the conversation could not be found for the participant412 Precondition FailedWhen SIP is not configured on the server
-
Data: See array definition in Get userยดs conversations
-