parent
8afc82c14b
commit
10c3307427
2 changed files with 19 additions and 0 deletions
|
@ -253,6 +253,14 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
Information on end-to-end device updates, as specified in
|
Information on end-to-end device updates, as specified in
|
||||||
|device_lists_sync|_.
|
|device_lists_sync|_.
|
||||||
|
device_one_time_keys_count:
|
||||||
|
title: One-time keys count
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: integer
|
||||||
|
description: |-
|
||||||
|
Information on end-to-end encryption keys, as specified
|
||||||
|
in |device_lists_sync|_.
|
||||||
examples:
|
examples:
|
||||||
application/json: {
|
application/json: {
|
||||||
"next_batch": "s72595_4483_1934",
|
"next_batch": "s72595_4483_1934",
|
||||||
|
|
|
@ -355,6 +355,9 @@ specified). The client is expected to use |/keys/query|_ or |/keys/changes|_
|
||||||
for the equivalent functionality after an initial sync, as documented in
|
for the equivalent functionality after an initial sync, as documented in
|
||||||
`Tracking the device list for a user`_.
|
`Tracking the device list for a user`_.
|
||||||
|
|
||||||
|
It also adds a ``one_time_keys_count`` property. Note the spelling difference
|
||||||
|
with the ``one_time_key_counts`` property in the |/keys/upload|_ response.
|
||||||
|
|
||||||
.. todo: generate this from a swagger definition?
|
.. todo: generate this from a swagger definition?
|
||||||
|
|
||||||
.. device_lists: { changed: ["@user:server", ... ]},
|
.. device_lists: { changed: ["@user:server", ... ]},
|
||||||
|
@ -364,6 +367,9 @@ Parameter Type Description
|
||||||
============ =========== =====================================================
|
============ =========== =====================================================
|
||||||
device_lists DeviceLists Optional. Information on e2e device updates. Note:
|
device_lists DeviceLists Optional. Information on e2e device updates. Note:
|
||||||
only present on an incremental sync.
|
only present on an incremental sync.
|
||||||
|
|device_otk| {string: Optional. For each key algorithm, the number of
|
||||||
|
integer} unclaimed one-time keys currently held on the server
|
||||||
|
for this device.
|
||||||
============ =========== =====================================================
|
============ =========== =====================================================
|
||||||
|
|
||||||
``DeviceLists``
|
``DeviceLists``
|
||||||
|
@ -388,6 +394,10 @@ Example response:
|
||||||
"@alice:example.com",
|
"@alice:example.com",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
"device_one_time_keys_count": {
|
||||||
|
"curve25519": 10,
|
||||||
|
"signed_curve25519": 20
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.. References
|
.. References
|
||||||
|
@ -400,6 +410,7 @@ Example response:
|
||||||
.. _`Signing JSON`: ../appendices.html#signing-json
|
.. _`Signing JSON`: ../appendices.html#signing-json
|
||||||
|
|
||||||
.. |m.olm.v1.curve25519-aes-sha2| replace:: ``m.olm.v1.curve25519-aes-sha2``
|
.. |m.olm.v1.curve25519-aes-sha2| replace:: ``m.olm.v1.curve25519-aes-sha2``
|
||||||
|
.. |device_otk| replace:: device_one_time_keys_count
|
||||||
|
|
||||||
.. |/keys/upload| replace:: ``/keys/upload``
|
.. |/keys/upload| replace:: ``/keys/upload``
|
||||||
.. _/keys/upload: #post-matrix-client-%CLIENT_MAJOR_VERSION%-keys-upload
|
.. _/keys/upload: #post-matrix-client-%CLIENT_MAJOR_VERSION%-keys-upload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue