Updating documentation
This commit is contained in:
parent
b95564ccc4
commit
50901473db
|
@ -2151,11 +2151,6 @@ paths:
|
||||||
- lastResortKeyBytes: the serialized form of the client's last-resort Kyber key as produced by libsignal (i.e. one
|
- lastResortKeyBytes: the serialized form of the client's last-resort Kyber key as produced by libsignal (i.e. one
|
||||||
version byte followed by 1568 bytes of key material for a total of 1569 bytes)
|
version byte followed by 1568 bytes of key material for a total of 1569 bytes)
|
||||||
operationId: checkKeys
|
operationId: checkKeys
|
||||||
parameters:
|
|
||||||
- name: User-Agent
|
|
||||||
in: header
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Indicates that client and server have consistent views of repeated-use
|
description: Indicates that client and server have consistent views of repeated-use
|
||||||
|
@ -4098,6 +4093,7 @@ components:
|
||||||
ChangeNumberRequest:
|
ChangeNumberRequest:
|
||||||
required:
|
required:
|
||||||
- deviceMessages
|
- deviceMessages
|
||||||
|
- devicePniPqLastResortPrekeys
|
||||||
- devicePniSignedPrekeys
|
- devicePniSignedPrekeys
|
||||||
- number
|
- number
|
||||||
- pniIdentityKey
|
- pniIdentityKey
|
||||||
|
@ -4124,7 +4120,7 @@ components:
|
||||||
description: |-
|
description: |-
|
||||||
A list of synchronization messages to send to companion devices to supply the private keysManager
|
A list of synchronization messages to send to companion devices to supply the private keysManager
|
||||||
associated with the new identity key and their new prekeys.
|
associated with the new identity key and their new prekeys.
|
||||||
Exactly one message must be supplied for each enabled device other than the sending (primary) device.
|
Exactly one message must be supplied for each device other than the sending (primary) device.
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/IncomingMessage'
|
$ref: '#/components/schemas/IncomingMessage'
|
||||||
devicePniSignedPrekeys:
|
devicePniSignedPrekeys:
|
||||||
|
@ -4132,27 +4128,24 @@ components:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
$ref: '#/components/schemas/ECSignedPreKey'
|
$ref: '#/components/schemas/ECSignedPreKey'
|
||||||
description: |-
|
description: |-
|
||||||
A new signed elliptic-curve prekey for each enabled device on the account, including this one.
|
A new signed elliptic-curve prekey for each device on the account, including this one.
|
||||||
Each must be accompanied by a valid signature from the new identity key in this request.
|
Each must be accompanied by a valid signature from the new identity key in this request.
|
||||||
devicePniPqLastResortPrekeys:
|
devicePniPqLastResortPrekeys:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
$ref: '#/components/schemas/KEMSignedPreKey'
|
$ref: '#/components/schemas/KEMSignedPreKey'
|
||||||
description: |-
|
description: |-
|
||||||
A new signed post-quantum last-resort prekey for each enabled device on the account, including this one.
|
A new signed post-quantum last-resort prekey for each device on the account, including this one.
|
||||||
May be absent, in which case the last resort PQ prekeys for each device will be deleted if any had been stored.
|
|
||||||
If present, must contain one prekey per enabled device including this one.
|
|
||||||
Prekeys for devices that did not previously have any post-quantum prekeys stored will be silently dropped.
|
|
||||||
Each must be accompanied by a valid signature from the new identity key in this request.
|
Each must be accompanied by a valid signature from the new identity key in this request.
|
||||||
pniRegistrationIds:
|
pniRegistrationIds:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: integer
|
type: integer
|
||||||
description: "the new phone-number-identity registration ID for each enabled\
|
description: "the new phone-number-identity registration ID for each device\
|
||||||
\ device on the account, including this one"
|
\ on the account, including this one"
|
||||||
format: int32
|
format: int32
|
||||||
description: "the new phone-number-identity registration ID for each enabled\
|
description: "the new phone-number-identity registration ID for each device\
|
||||||
\ device on the account, including this one"
|
\ on the account, including this one"
|
||||||
eachPniRegistrationIdValid:
|
eachPniRegistrationIdValid:
|
||||||
type: boolean
|
type: boolean
|
||||||
valid:
|
valid:
|
||||||
|
@ -4242,6 +4235,7 @@ components:
|
||||||
PhoneNumberIdentityKeyDistributionRequest:
|
PhoneNumberIdentityKeyDistributionRequest:
|
||||||
required:
|
required:
|
||||||
- deviceMessages
|
- deviceMessages
|
||||||
|
- devicePniPqLastResortPrekeys
|
||||||
- devicePniSignedPrekeys
|
- devicePniSignedPrekeys
|
||||||
- pniIdentityKey
|
- pniIdentityKey
|
||||||
- pniRegistrationIds
|
- pniRegistrationIds
|
||||||
|
@ -4254,7 +4248,7 @@ components:
|
||||||
description: |
|
description: |
|
||||||
A list of synchronization messages to send to companion devices to supply the private keys
|
A list of synchronization messages to send to companion devices to supply the private keys
|
||||||
associated with the new identity key and their new prekeys.
|
associated with the new identity key and their new prekeys.
|
||||||
Exactly one message must be supplied for each enabled device other than the sending (primary) device.
|
Exactly one message must be supplied for each device other than the sending (primary) device.
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/IncomingMessage'
|
$ref: '#/components/schemas/IncomingMessage'
|
||||||
devicePniSignedPrekeys:
|
devicePniSignedPrekeys:
|
||||||
|
@ -4262,17 +4256,14 @@ components:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
$ref: '#/components/schemas/ECSignedPreKey'
|
$ref: '#/components/schemas/ECSignedPreKey'
|
||||||
description: |-
|
description: |-
|
||||||
A new signed elliptic-curve prekey for each enabled device on the account, including this one.
|
A new signed elliptic-curve prekey for each device on the account, including this one.
|
||||||
Each must be accompanied by a valid signature from the new identity key in this request.
|
Each must be accompanied by a valid signature from the new identity key in this request.
|
||||||
devicePniPqLastResortPrekeys:
|
devicePniPqLastResortPrekeys:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
$ref: '#/components/schemas/KEMSignedPreKey'
|
$ref: '#/components/schemas/KEMSignedPreKey'
|
||||||
description: |-
|
description: |-
|
||||||
A new signed post-quantum last-resort prekey for each enabled device on the account, including this one.
|
A new signed post-quantum last-resort prekey for each device on the account, including this one.
|
||||||
May be absent, in which case the last resort PQ prekeys for each device will be deleted if any had been stored.
|
|
||||||
If present, must contain one prekey per enabled device including this one.
|
|
||||||
Prekeys for devices that did not previously have any post-quantum prekeys stored will be silently dropped.
|
|
||||||
Each must be accompanied by a valid signature from the new identity key in this request.
|
Each must be accompanied by a valid signature from the new identity key in this request.
|
||||||
pniRegistrationIds:
|
pniRegistrationIds:
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Reference in New Issue