mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 11:34:09 +01:00
#1912 issue : Update events.yaml
fixes #1912 by adding a 403 error response to /_matrix/federation/v1/state_ids/{roomId}
This commit is contained in:
parent
56914b72ef
commit
99e0ba4875
|
|
@ -140,6 +140,19 @@ paths:
|
||||||
required:
|
required:
|
||||||
- auth_chain_ids
|
- auth_chain_ids
|
||||||
- pdu_ids
|
- pdu_ids
|
||||||
|
"403":
|
||||||
|
description: |-
|
||||||
|
The host is not in the room or the host is banned from the room via its ACL.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: ../client-server/definitions/errors/error.yaml
|
||||||
|
examples:
|
||||||
|
response:
|
||||||
|
value: {
|
||||||
|
"errcode": "M_FORBIDDEN",
|
||||||
|
"error": "You do not have permission to access the state at the requested event."
|
||||||
|
}
|
||||||
"404":
|
"404":
|
||||||
description: |-
|
description: |-
|
||||||
The given `event_id` was not found or the server doesn't know about the state at
|
The given `event_id` was not found or the server doesn't know about the state at
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue