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

Document the instance_id field of Protocol Instance in the CS API #2051

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Jan 13, 2025

It is used as the third_party_instance_id of POST /_matrix/client/v3/publicRooms.

It has always been present since before the thirdparty protocol endpoints were added to the spec:

I marked it as required because that is how it is defined in the TypeScript definition of the type in matrix-js-sdk, and according to the corresponding code in Synapse it is defined if network_id is defined, and according to the spec the latter is required.

Fixes #833.

Pull Request Checklist

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

It is used as the `third_party_instance_id` of `POST /_matrix/client/v3/publicRooms`.

It has always been present since before the thirdparty protocol endpoints were added to the spec.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner January 13, 2025 11:47
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
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.

publicRooms and thirdparty protocols lack in documentation
1 participant