mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-13 02:53:43 +01:00
fix some errors in key export format
- empirically, we don't acatually wrap the array in an object - fix an incorrect type
This commit is contained in:
parent
b76b7cd178
commit
d224c4ff71
|
|
@ -496,18 +496,9 @@ passphrase, and is created as follows:
|
|||
Key export format
|
||||
<<<<<<<<<<<<<<<<<
|
||||
|
||||
The exported sessions are formatted as a JSON object of type ``ExportData``
|
||||
The exported sessions are formatted as a JSON array of ``SessionData`` objects
|
||||
described as follows:
|
||||
|
||||
``ExportData``
|
||||
|
||||
=============== ================= ==============================================
|
||||
Parameter Type Description
|
||||
=============== ================= ==============================================
|
||||
sessions ``[SessionData]`` Required. The sessions that are being
|
||||
exported.
|
||||
=============== ================= ==============================================
|
||||
|
||||
``SessionData``
|
||||
|
||||
.. table::
|
||||
|
|
@ -529,7 +520,7 @@ sessions ``[SessionData]`` Required. The sessions that are being
|
|||
device which initiated the session
|
||||
originally.
|
||||
sender_claimed_keys {string: Required. The Ed25519 key of the
|
||||
integer} device which initiated the session
|
||||
string} device which initiated the session
|
||||
originally.
|
||||
session_id string Required. The ID of the session.
|
||||
session_key string Required. The key for the session.
|
||||
|
|
|
|||
Loading…
Reference in a new issue