mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-20 09:54:10 +02:00
device_keys are required
This commit is contained in:
parent
caaa688e37
commit
2a08a308f3
|
|
@ -55,7 +55,7 @@ paths:
|
||||||
description: algorithm
|
description: algorithm
|
||||||
example: "signed_curve25519"
|
example: "signed_curve25519"
|
||||||
example: {
|
example: {
|
||||||
"@alice:example.com": {
|
"@alice:example.com": {
|
||||||
"JLAFKJWSCS": "signed_curve25519"
|
"JLAFKJWSCS": "signed_curve25519"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -126,6 +126,7 @@ paths:
|
||||||
example: {
|
example: {
|
||||||
"@alice:example.com": []
|
"@alice:example.com": []
|
||||||
}
|
}
|
||||||
|
required: ['device_keys']
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: The device information.
|
description: The device information.
|
||||||
|
|
@ -178,7 +179,7 @@ paths:
|
||||||
"@alice:example.com": {
|
"@alice:example.com": {
|
||||||
"ed25519:JLAFKJWSCS": "dSO80A01XiigH3uBiDVx/EjzaoycHcjq9lfQX0uWsqxl2giMIiSPR8a4d291W1ihKJL/a+myXS367WT6NAIcBA"
|
"ed25519:JLAFKJWSCS": "dSO80A01XiigH3uBiDVx/EjzaoycHcjq9lfQX0uWsqxl2giMIiSPR8a4d291W1ihKJL/a+myXS367WT6NAIcBA"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"unsigned": {
|
"unsigned": {
|
||||||
"device_display_name": "Alice's mobile phone"
|
"device_display_name": "Alice's mobile phone"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue