mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 04:54:10 +01:00
fix up the 404 response schema
it wasn't displaying correctly in the rendered spec otherwise
This commit is contained in:
parent
0fccbac6fe
commit
7cc6d6e359
|
|
@ -79,18 +79,23 @@ paths:
|
|||
examples:
|
||||
response:
|
||||
value: {}
|
||||
404:
|
||||
"404":
|
||||
description: |-
|
||||
The event was not found or you are not joined to the room where the
|
||||
event resides.
|
||||
|
||||
Homeserver implementations can additionally return this error if the
|
||||
reported event has been redacted.
|
||||
examples:
|
||||
application/json: {
|
||||
"errcode": "M_NOT_FOUND",
|
||||
"error": "The event was not found or you are not joined to the room."
|
||||
}
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: definitions/errors/error.yaml
|
||||
examples:
|
||||
response:
|
||||
value: {
|
||||
"errcode": "M_NOT_FOUND",
|
||||
"error": "The event was not found or you are not joined to the room."
|
||||
}
|
||||
schema:
|
||||
$ref: "../client-server/definitions/errors/error.yaml"
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Reference in a new issue