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

Specify the /invite federation endpoint #991

Closed
babolivier opened this issue Sep 12, 2017 · 0 comments
Closed

Specify the /invite federation endpoint #991

babolivier opened this issue Sep 12, 2017 · 0 comments
Labels
spec-omission implemented but not currently specified

Comments

@babolivier
Copy link
Contributor

babolivier commented Sep 12, 2017

This endpoint (/_matrix/federation/v1/invite/{roomID}/{eventID}) is to be requested using the PUT method and its body must contain an invite m.room.member event.

It is requested in the case a homeserver A wants to invite a user located on a homeserver B on a room located on A. A will then build a m.room.member event and send it to B so B can append its signature to the event and respond with the updated event to acknowledge it.

Due to a typo in Synapse kept for ensuring compatibility, the response body must be constructed as:

200 OK

[
     200,
    {
        "event": {...}
    }
]

with the updated event at the event key.

@babolivier babolivier added the spec-omission implemented but not currently specified label Sep 12, 2017
RiotTranslateBot pushed a commit to RiotTranslateBot/matrix-doc that referenced this issue Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec-omission implemented but not currently specified
Projects
None yet
Development

No branches or pull requests

1 participant