nextcloud / spreed

🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud
https://nextcloud.com/talk
GNU Affero General Public License v3.0
1.58k stars 419 forks source link

Allow setting conversation password on conversation creation via API #2874

Open mario opened 4 years ago

mario commented 4 years ago

Currently to set a password on room creation you need two API calls:

I'd like an optional password field on the creation flow to avoid the extra network call

nickvergessen commented 4 years ago

Same for the invites. I guess it is time for an api/v2/ at least on the creation flow it could be improved a lot.

nickvergessen commented 2 years ago

It would basically be nice to have this for all kind of features/settings we have. So I wonder how we can make this scale without having 20 parameters on the API method.

vitormattos commented 2 years ago

@nickvergessen I believe that a way to reduce the parameters on API methods will be possible implementing a Setting data object with key/value properties. This maybe go a first step.

A second step maybe can a class with validations of key/values parameters of Setting class.