Skip to content

Commit

Permalink
matrix-org#1912 issue : Update events.yaml
Browse files Browse the repository at this point in the history
fixes matrix-org#1912 by adding a 403 error response to /_matrix/federation/v1/state_ids/{roomId}
  • Loading branch information
AllMightLegend committed Aug 12, 2024
1 parent 56914b7 commit 99e0ba4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions data/api/server-server/events.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,19 @@ paths:
required:
- auth_chain_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":
description: |-
The given `event_id` was not found or the server doesn't know about the state at
Expand Down

0 comments on commit 99e0ba4

Please sign in to comment.