Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update chatroom affiliations returns bad request #163

Open
nereglez opened this issue Nov 15, 2022 · 1 comment
Open

Update chatroom affiliations returns bad request #163

nereglez opened this issue Nov 15, 2022 · 1 comment

Comments

@nereglez
Copy link

nereglez commented Nov 15, 2022

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
Copy link

goyeee commented Mar 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants