openfire-restAPI-plugin icon indicating copy to clipboard operation
openfire-restAPI-plugin copied to clipboard

Update chatroom affiliations returns bad request

Open nereglez opened this issue 2 years ago • 1 comments

Hello there,

We are using the rest api plugin and we are trying to set affiliations at a chatroom but the PUT endpoint (restapi/v1/chatrooms/{roomName}/{affiliation: (admins|members|outcasts|owners)}) returns a bad request response when we send an array of usernames: image

Seems that it's necessary indicate how to distinguish what child class of AffiliatedEntities has to be created. Thanks in advance

nereglez avatar Nov 15 '22 14:11 nereglez

How did you solve it ? I meet same error. can you share something with me if you have solve it ? thank you

goyeee avatar Mar 20 '24 02:03 goyeee