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

POST /devices/xxx/rooms - wrong request parameter "roomId" #68

Open
christian-frei opened this issue Feb 18, 2025 · 2 comments
Open

POST /devices/xxx/rooms - wrong request parameter "roomId" #68

christian-frei opened this issue Feb 18, 2025 · 2 comments

Comments

@christian-frei
Copy link
Contributor

The openapi spec defines a json parameter "roomId" which is wrong. the matrix server responds with a room id once it's created.

{
  "name": "some room",
  "theme": "some theme",
  "roomAccess": "private",
  "roomId": "!dowjfsdkjfskjdfsd:gematik.de",
  "roomVersion": "10",
  "invitedMembers": [
    {
      "mxid": "@someone:gematik.de"
    }
  ]
}

please remove the parameter "roomId" from the request.

@MidNight88
Copy link

Hi Christian,

Thank you for creating an issue. We appreciate your feedback and your help in improving this project.

We are currently looking into the issue you reported and will do our best to address it as soon as possible. If we have any questions or need any further information from you, we will definitely reach out to you.

Best regards,
Julia

@MidNight88
Copy link

Hi Christian,
the parameter will stay , cause we reuse the Room type at different requests, anyways you can just fill it with null and later with the created room-Id from the response.

Best regards,
Julia

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