Hello Varga, On Thu, 31 Dec 2020 at 06:25, Varga Balázs <[email protected]> wrote:
> Hi Maxim! > > I try today REST functions and detect problem: > > - Create room via SOAP (soap user rigths room, login, soap), room > successfull created: * not set owner_id to room in db.* > > Try room add via POST, try getExternal, try add+update, owner_id can't set. > > > - Create user via SOAP (try USER, EXTERNAL type):* not set user to > MODERATOR* for own room - or I can't howto :) > > > Main idea: create user from external system via SOAP and set to ROOM > rights, create own ROOM and set us to moderator for room. Next step create > many invitations for own participants. > It seems API is not flexible enough :) You use case is illustrated here https://openmeetings.apache.org/RestAPISample.html Main steps are: 1. create room via room API (** the room can have `moderated` flag ON) 2. create secure hash with `moderator` flag ON for the user who should be moderator 3. create secure hash with `moderator` flag OFF for other users i hope this will help :) > I use this for main service: > https://github.com/openmeetings/openmeetings-moodle-plugin/tree/master/api > > -- > Varga Balázs > +36-70-389-4753 > SZHWEB Bt. > > -- Best regards, Maxim
