mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 21:14:09 +01:00
add error code to federation endpoint
This commit is contained in:
parent
00e0eafa0c
commit
d20eebe2bb
|
|
@ -233,3 +233,13 @@ paths:
|
||||||
"event_id": "$143273582443PhrSn:example.org",
|
"event_id": "$143273582443PhrSn:example.org",
|
||||||
"origin_server_ts": 1432735824653
|
"origin_server_ts": 1432735824653
|
||||||
}
|
}
|
||||||
|
404:
|
||||||
|
description: |-
|
||||||
|
No event was found.
|
||||||
|
examples:
|
||||||
|
application/json: {
|
||||||
|
"errcode": "M_NOT_FOUND",
|
||||||
|
"error": "Unable to find event from 1432684800000 in forward direction"
|
||||||
|
}
|
||||||
|
schema:
|
||||||
|
"$ref": "../client-server/definitions/errors/error.yaml"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue