Merge pull request #1448 from turt2live/travis/s2s/pdu-event-id
Add the event_id to unsigned PDUs
This commit is contained in:
commit
17811bca27
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,10 @@ description: An unsigned persistent data unit (event)
|
||||||
example:
|
example:
|
||||||
$ref: "../examples/unsigned_pdu.json"
|
$ref: "../examples/unsigned_pdu.json"
|
||||||
properties:
|
properties:
|
||||||
|
event_id:
|
||||||
|
type: string
|
||||||
|
description: The event ID for the PDU.
|
||||||
|
example: "$a4ecee13e2accdadf56c1025:example.com"
|
||||||
room_id:
|
room_id:
|
||||||
type: string
|
type: string
|
||||||
description: Room identifier.
|
description: Room identifier.
|
||||||
|
@ -107,6 +111,7 @@ properties:
|
||||||
description: Additional data added by the origin server but not covered by the ``signatures``.
|
description: Additional data added by the origin server but not covered by the ``signatures``.
|
||||||
example: {"key": "value"}
|
example: {"key": "value"}
|
||||||
required:
|
required:
|
||||||
|
- event_id
|
||||||
- room_id
|
- room_id
|
||||||
- sender
|
- sender
|
||||||
- origin
|
- origin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue