igniterealtime / openfire-restAPI-plugin

Allows Openfire administration over a RESTful API.
http://www.igniterealtime.org/projects/openfire/plugin-archive.jsp?plugin=restAPI
Apache License 2.0
19 stars 53 forks source link

Update chatroom affiliations returns bad request #163

Open nereglez opened 2 years ago

nereglez commented 2 years ago

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

goyeee commented 8 months ago

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