|
|
|
@ -137,7 +137,9 @@ paths:
|
|
|
|
|
The keys to be downloaded. A map from user ID, to a list of
|
|
|
|
|
device IDs, or to an empty list to indicate all devices for the
|
|
|
|
|
corresponding user.
|
|
|
|
|
additionalProperties:
|
|
|
|
|
patternProperties:
|
|
|
|
|
"^@":
|
|
|
|
|
x-pattern-format: mx-user-id
|
|
|
|
|
type: array
|
|
|
|
|
items:
|
|
|
|
|
type: string
|
|
|
|
@ -177,7 +179,9 @@ paths:
|
|
|
|
|
the information returned will be the same as uploaded via
|
|
|
|
|
`/keys/upload`, with the addition of an `unsigned`
|
|
|
|
|
property.
|
|
|
|
|
additionalProperties:
|
|
|
|
|
patternProperties:
|
|
|
|
|
"^@":
|
|
|
|
|
x-pattern-format: mx-user-id
|
|
|
|
|
type: object
|
|
|
|
|
additionalProperties:
|
|
|
|
|
title: DeviceInformation
|
|
|
|
@ -221,8 +225,11 @@ paths:
|
|
|
|
|
`/keys/device_signing/upload`, along with the signatures
|
|
|
|
|
uploaded via `/keys/signatures/upload` that the requesting user
|
|
|
|
|
is allowed to see.
|
|
|
|
|
additionalProperties:
|
|
|
|
|
$ref: definitions/cross_signing_key.yaml
|
|
|
|
|
patternProperties:
|
|
|
|
|
"^@":
|
|
|
|
|
x-pattern-format: mx-user-id
|
|
|
|
|
allOf:
|
|
|
|
|
- $ref: definitions/cross_signing_key.yaml
|
|
|
|
|
example:
|
|
|
|
|
"@alice:example.com":
|
|
|
|
|
user_id: "@alice:example.com"
|
|
|
|
@ -238,8 +245,11 @@ paths:
|
|
|
|
|
from user ID, to self-signing key information. For each key, the
|
|
|
|
|
information returned will be the same as uploaded via
|
|
|
|
|
`/keys/device_signing/upload`.
|
|
|
|
|
additionalProperties:
|
|
|
|
|
$ref: definitions/cross_signing_key.yaml
|
|
|
|
|
patternProperties:
|
|
|
|
|
"^@":
|
|
|
|
|
x-pattern-format: mx-user-id
|
|
|
|
|
allOf:
|
|
|
|
|
- $ref: definitions/cross_signing_key.yaml
|
|
|
|
|
example:
|
|
|
|
|
"@alice:example.com":
|
|
|
|
|
user_id: "@alice:example.com"
|
|
|
|
@ -258,8 +268,11 @@ paths:
|
|
|
|
|
from user ID, to user-signing key information. The
|
|
|
|
|
information returned will be the same as uploaded via
|
|
|
|
|
`/keys/device_signing/upload`.
|
|
|
|
|
additionalProperties:
|
|
|
|
|
$ref: definitions/cross_signing_key.yaml
|
|
|
|
|
patternProperties:
|
|
|
|
|
"^@":
|
|
|
|
|
x-pattern-format: mx-user-id
|
|
|
|
|
allOf:
|
|
|
|
|
- $ref: definitions/cross_signing_key.yaml
|
|
|
|
|
example:
|
|
|
|
|
"@alice:example.com":
|
|
|
|
|
user_id: "@alice:example.com"
|
|
|
|
@ -297,7 +310,9 @@ paths:
|
|
|
|
|
description: |-
|
|
|
|
|
The keys to be claimed. A map from user ID, to a map from
|
|
|
|
|
device ID to algorithm name.
|
|
|
|
|
additionalProperties:
|
|
|
|
|
patternProperties:
|
|
|
|
|
"^@":
|
|
|
|
|
x-pattern-format: mx-user-id
|
|
|
|
|
type: object
|
|
|
|
|
additionalProperties:
|
|
|
|
|
type: string
|
|
|
|
@ -342,7 +357,9 @@ paths:
|
|
|
|
|
|
|
|
|
|
If necessary, the claimed key might be a fallback key. Fallback
|
|
|
|
|
keys are re-used by the server until replaced by the device.
|
|
|
|
|
additionalProperties:
|
|
|
|
|
patternProperties:
|
|
|
|
|
"^@":
|
|
|
|
|
x-pattern-format: mx-user-id
|
|
|
|
|
type: object
|
|
|
|
|
additionalProperties:
|
|
|
|
|
$ref: "definitions/one_time_keys.yaml"
|
|
|
|
|