Allow `/make_join` to return a 404 (#2688)

Specify that `GET /_matrix/federation/v1/make_join/{roomId}/{userId}` can
return a 404 if the room is unknown.
pull/977/head
Richard van der Hoff 4 years ago committed by GitHub
parent e207dfc0ea
commit 6da06383e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -162,6 +162,16 @@ paths:
"error": "Your homeserver does not support the features required to join this room",
"room_version": "3"
}
404:
description: |-
The room that the joining server is attempting to join is unknown
to the receiving server.
examples:
application/json: {
"errcode": "M_NOT_FOUND",
"error": "Unknown room",
}
"/send_join/{roomId}/{eventId}":
put:
summary: Submit a signed join event to a resident server

@ -0,0 +1 @@
Specify that `GET /_matrix/federation/v1/make_join/{roomId}/{userId}` can return a 404 if the room is unknown.
Loading…
Cancel
Save