mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-03 22:43:43 +01:00
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.
This commit is contained in:
parent
e207dfc0ea
commit
6da06383e8
|
|
@ -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…
Reference in a new issue