Clarification for /event_auth
(#3583)
The description on this endpoint implied it returned the auth chain for the full state of the room, which is incorrect.
This commit is contained in:
parent
592cbd537c
commit
355e06eaa6
2 changed files with 5 additions and 8 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify that `GET /_matrix/federation/v1/event_auth/{roomId}/{eventId}` does *not* return the auth chain for the full state of the room.
|
|
@ -57,17 +57,13 @@ paths:
|
||||||
auth_chain:
|
auth_chain:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
The full set of authorization events that make up the state of
|
The [PDUs](/server-server-api/#pdus) forming the auth chain
|
||||||
the room, and their authorization events, recursively. Note that
|
of the given event. The event format varies depending on the
|
||||||
events have a different format depending on the room version -
|
room version - check the [room version specification](/rooms)
|
||||||
check the [room version specification](/rooms) for precise event formats.
|
for precise event formats.
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
title: PDU
|
title: PDU
|
||||||
description: |-
|
|
||||||
The [PDUs](/server-server-api/#pdus) contained in the auth chain. The event format
|
|
||||||
varies depending on the room version - check the [room version specification](/rooms)
|
|
||||||
for precise event formats.
|
|
||||||
properties: []
|
properties: []
|
||||||
example:
|
example:
|
||||||
$ref: "examples/minimal_pdu.json"
|
$ref: "examples/minimal_pdu.json"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue