Client-server: Fix upload keys example request
Contributes to #1733 Signed-off-by: Alexey Andreyev <aa13q@ya.ru>
This commit is contained in:
parent
db5ce0c69e
commit
9ed19a37ad
5 changed files with 7 additions and 5 deletions
|
@ -33,7 +33,7 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
The encryption algorithms supported by this device.
|
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:
|
keys:
|
||||||
type: object
|
type: object
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
@ -217,8 +217,8 @@ paths:
|
||||||
"user_id": "@alice:example.com",
|
"user_id": "@alice:example.com",
|
||||||
"device_id": "JLAFKJWSCS",
|
"device_id": "JLAFKJWSCS",
|
||||||
"algorithms": [
|
"algorithms": [
|
||||||
"m.olm.v1.curve25519-aes-sha256",
|
"m.olm.v1.curve25519-aes-sha2",
|
||||||
"m.megolm.v1.aes-sha"
|
"m.megolm.v1.aes-sha2"
|
||||||
],
|
],
|
||||||
"keys": {
|
"keys": {
|
||||||
"curve25519:JLAFKJWSCS": "3C5BFWi2Y8MaVvjM8M22DBmh24PmgR0nPvJOIArzgyI",
|
"curve25519:JLAFKJWSCS": "3C5BFWi2Y8MaVvjM8M22DBmh24PmgR0nPvJOIArzgyI",
|
||||||
|
|
|
@ -180,8 +180,8 @@ paths:
|
||||||
"user_id": "@alice:example.com",
|
"user_id": "@alice:example.com",
|
||||||
"device_id": "JLAFKJWSCS",
|
"device_id": "JLAFKJWSCS",
|
||||||
"algorithms": [
|
"algorithms": [
|
||||||
"m.olm.v1.curve25519-aes-sha256",
|
"m.olm.v1.curve25519-aes-sha2",
|
||||||
"m.megolm.v1.aes-sha"
|
"m.megolm.v1.aes-sha2"
|
||||||
],
|
],
|
||||||
"keys": {
|
"keys": {
|
||||||
"curve25519:JLAFKJWSCS": "3C5BFWi2Y8MaVvjM8M22DBmh24PmgR0nPvJOIArzgyI",
|
"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…
Add table
Add a link
Reference in a new issue