From 0d1b82a6017a1e3c0812a3e06d6bd18026a0e96b Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 24 Jul 2018 14:40:32 -0600 Subject: [PATCH] Add the event_id to unsigned PDUs This went missing in the swagger conversion. The example already has an event_id. --- api/server-server/definitions/unsigned_pdu.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/server-server/definitions/unsigned_pdu.yaml b/api/server-server/definitions/unsigned_pdu.yaml index 011b2736..9e54a837 100644 --- a/api/server-server/definitions/unsigned_pdu.yaml +++ b/api/server-server/definitions/unsigned_pdu.yaml @@ -17,6 +17,10 @@ description: An unsigned persistent data unit (event) example: $ref: "../examples/unsigned_pdu.json" properties: + event_id: + type: string + description: The event ID for the PDU + example: "$a4ecee13e2accdadf56c1025:example.com" room_id: type: string description: Room identifier. @@ -107,6 +111,7 @@ properties: description: Additional data added by the origin server but not covered by the ``signatures``. example: {"key": "value"} required: + - event_id - room_id - sender - origin