Client-server: Fix upload keys example request

Contributes to #1733

Signed-off-by: Alexey Andreyev <aa13q@ya.ru>
pull/2157/head
Alexey Andreyev 5 years ago
parent db5ce0c69e
commit 9ed19a37ad
No known key found for this signature in database
GPG Key ID: 39B40023519E246E

@ -33,7 +33,7 @@ properties:
type: string
description: |-
The encryption algorithms supported by this device.
example: ["m.olm.curve25519-aes-sha256", "m.megolm.v1.aes-sha"]
example: ["m.olm.v1.curve25519-aes-sha2", "m.megolm.v1.aes-sha2"]
keys:
type: object
description: |-

@ -217,8 +217,8 @@ paths:
"user_id": "@alice:example.com",
"device_id": "JLAFKJWSCS",
"algorithms": [
"m.olm.v1.curve25519-aes-sha256",
"m.megolm.v1.aes-sha"
"m.olm.v1.curve25519-aes-sha2",
"m.megolm.v1.aes-sha2"
],
"keys": {
"curve25519:JLAFKJWSCS": "3C5BFWi2Y8MaVvjM8M22DBmh24PmgR0nPvJOIArzgyI",

@ -180,8 +180,8 @@ paths:
"user_id": "@alice:example.com",
"device_id": "JLAFKJWSCS",
"algorithms": [
"m.olm.v1.curve25519-aes-sha256",
"m.megolm.v1.aes-sha"
"m.olm.v1.curve25519-aes-sha2",
"m.megolm.v1.aes-sha2"
],
"keys": {
"curve25519:JLAFKJWSCS": "3C5BFWi2Y8MaVvjM8M22DBmh24PmgR0nPvJOIArzgyI",

@ -0,0 +1 @@
Clarify the encryption algorithms supported by the device of the device keys example.

@ -0,0 +1 @@
Clarify the encryption algorithms supported by the device of the user keys query example.
Loading…
Cancel
Save