Set the rules
POST/wordplus/realtime/calls/:name/rules
Sets any of a group call's rules, which hold until everyone has left or it ends: mode broadcast (only hosts and
those promoted send) or participatory, locked (only those already in get back in) and muted (Mute
Everyone). They apply at once to everyone in it but its hosts. A mode switch lets go of every held publish, and
Mute or Unmute Everyone of every held microphone. The call screen's Host Controls.
In the packages: realtime.call( name ).rules( { mode?, locked?, muted? }, { by? } ).
Request
Responses
- 200
- 400
- 401
- 403
The rules now.
bad_request, bad_room: the request is not one the API takes. reserved: an event name kept for the room itself.
missing_signature, stale_signature (a clock off by more than 5 minutes), unknown_site, bad_signature (a wrong secret, or a body or path other than the one signed).
not_included: your plan does not include it.