Make the backfill response aware of event format changes
This commit is contained in:
parent
e27c83d9f8
commit
9b214ec16d
3 changed files with 24 additions and 26 deletions
|
@ -26,12 +26,21 @@ properties:
|
|||
type: integer
|
||||
format: int64
|
||||
description: |-
|
||||
POSIX timestamp in milliseconds on originating homeserver when this
|
||||
POSIX timestamp in milliseconds on originating homeserver when this
|
||||
transaction started.
|
||||
example: 1532991320875
|
||||
pdus:
|
||||
type: array
|
||||
description: List of persistent updates to rooms. Must not include more than 50 PDUs.
|
||||
description: |-
|
||||
List of persistent updates to rooms. Must not include more than 50 PDUs. Note that
|
||||
events have a different version depending on the room version - check the
|
||||
`room version specification`_ for precise event formats.
|
||||
items:
|
||||
$ref: "pdu.yaml"
|
||||
type: object
|
||||
title: PDU
|
||||
description: |-
|
||||
The `PDUs <#pdus>`_ contained in the transaction. The event format varies depending
|
||||
on the room version - check the `room version specification`_ for precise event formats.
|
||||
properties: []
|
||||
example: {"see_room_version_spec": "The event format changes depending on the room version."}
|
||||
required: ['origin', 'origin_server_ts', 'pdus']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue