Skip to content

Conversation

@harri-han
Copy link

@harri-han harri-han commented Oct 14, 2025

https://spec.matrix.org/v1.16/client-server-api/#post_matrixclientv3roomsroomidforget fails to define a request body.

But it is not one of the four exceptions listed in https://spec.matrix.org/v1.16/client-server-api/#api-standards which deviate from the rule that

All POST and PUT endpoints, with the exception of those listed below, require the client to supply a request body containing a (potentially empty) JSON object.

Pull Request Checklist

Preview: https://pr2229--matrix-spec-previews.netlify.app

https://spec.matrix.org/v1.16/client-server-api/#post_matrixclientv3roomsroomidforget fails to define a request body.

But it is not one of the four exceptions listed in https://spec.matrix.org/v1.16/client-server-api/#api-standards which deviate from the rule that 

> All POST and PUT endpoints, with the exception of those listed below, require the client to supply a request body containing a (potentially empty) JSON object.
@harri-han harri-han requested a review from a team as a code owner October 14, 2025 13:51
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @harri-han, thanks for your PR!

Could you add both a sign-off and a changelog file please? This will allow us to accept your contribution. I think this would count as a "clarification" for the changelog entry.

As for the contents of the PR, I don't believe this requires an MSC as the spec already required that this endpoint must contain a JSON body (see the quoted text). It just wasn't clearly laid out in the OpenAPI spec. ✅

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

Successfully merging this pull request may close these issues.

2 participants