Hi team,
On the Meeting edit page, there’s an auto-recording checkbox. This checkbox is deactivated if certain higher-level settings (account or group settings) are preventing the feature from beeing enabled. We need to reflect the current state of this checkbox in our UI, so users who schedule meetings could see it.
Considering all levels, this would involve a series of calls from our side to check if auto-recording is eefectively enabled or disabled:
- Retrieve account locked settings
- Retrieve user groups
- Retrieve the locked settings for group1…groupN
- Retrieve user settings
Currently, the state is provided when editing a meeting, as shown below:
"autoRec":{
"show":true, // hidden when disabled and locked
"value":true,
"disabled":true, // disabled when locked
"childParams":{...
This information comes from the GET /rest/meeting/schedule?meetingNumber=...
endpoint.
(example response track id: v=2.0;clid=aw1;rid=WEB_c33bb7f4200bed92fa54aeff35e2556b
)
What do you think about creating a dedicated endpoint to calculate and provide the result of such a multi-aspect state?
For example: GET /user/{userId}/meeting-scheduling-state
→ { auto_recording: { default: false, locked: true } }
(if cloud_recording is disabled, or the auto-recording is disabled and locked on any level)
Or maybe you can add fields for existing settings response?