-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1926 from nextcloud/feature/382/lobby
⏳ Lobby
- Loading branch information
Showing
35 changed files
with
1,232 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Webinary management | ||
|
||
Group and public conversations can be used to host webinaries. 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 is: `/ocs/v2.php/apps/spreed/api/v1` | ||
|
||
## Set lobby for a conversation | ||
|
||
* Required capability: `webinary-lobby` | ||
* Method: `PUT` | ||
* Endpoint: `/room/{token}/webinary/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: | ||
- Header: | ||
+ `200 OK` | ||
+ `400 Bad Request` When the conversation type does not support lobby (only group and public conversation atm) | ||
+ `403 Forbidden` When the current user is not a moderator/owner | ||
+ `404 Not Found` When the conversation could not be found for the participant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.