Updating documentation
This commit is contained in:
parent
ca7b63743e
commit
19854af8d8
|
@ -2601,14 +2601,7 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: the registration verification code to authenticate this request
|
description: the registration verification code to authenticate this request
|
||||||
pniIdentityKey:
|
pniIdentityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
description: the new public identity key to use for the phone-number identity
|
|
||||||
associated with the new phone number
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
description: the new public identity key to use for the phone-number identity
|
|
||||||
associated with the new phone number
|
|
||||||
format: byte
|
|
||||||
deviceMessages:
|
deviceMessages:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -2645,6 +2638,28 @@ components:
|
||||||
\ device on the account, including this one"
|
\ device on the account, including this one"
|
||||||
signatureValidOnEachSignedPreKey:
|
signatureValidOnEachSignedPreKey:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
ECPublicKey:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
type:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
publicKeyBytes:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
format: byte
|
||||||
|
IdentityKey:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
publicKey:
|
||||||
|
$ref: '#/components/schemas/ECPublicKey'
|
||||||
|
fingerprint:
|
||||||
|
type: string
|
||||||
|
description: |
|
||||||
|
The PNI-associated identity key for the account, encoded as a base64 string. If
|
||||||
|
provided, an account will be created "atomically," and all other properties needed for
|
||||||
|
atomic account creation must also be present.
|
||||||
IncomingMessage:
|
IncomingMessage:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -2968,14 +2983,7 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: the new phone number for this account
|
description: the new phone number for this account
|
||||||
pniIdentityKey:
|
pniIdentityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
description: the new public identity key to use for the phone-number identity
|
|
||||||
associated with the new phone number
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
description: the new public identity key to use for the phone-number identity
|
|
||||||
associated with the new phone number
|
|
||||||
format: byte
|
|
||||||
deviceMessages:
|
deviceMessages:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -3023,12 +3031,7 @@ components:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
pniIdentityKey:
|
pniIdentityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
description: the new identity key for this account's phone-number identity
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
description: the new identity key for this account's phone-number identity
|
|
||||||
format: byte
|
|
||||||
deviceMessages:
|
deviceMessages:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -3443,18 +3446,7 @@ components:
|
||||||
pqLastResortPreKey:
|
pqLastResortPreKey:
|
||||||
$ref: '#/components/schemas/SignedPreKey'
|
$ref: '#/components/schemas/SignedPreKey'
|
||||||
identityKey:
|
identityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
description: "Required. The public identity key for this identity (account\
|
|
||||||
\ or phone-number identity). If this device is not the primary device\
|
|
||||||
\ for the account, must match the existing stored identity key for this\
|
|
||||||
\ identity."
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
description: "Required. The public identity key for this identity (account\
|
|
||||||
\ or phone-number identity). If this device is not the primary device\
|
|
||||||
\ for the account, must match the existing stored identity key for this\
|
|
||||||
\ identity."
|
|
||||||
format: byte
|
|
||||||
signatureValidOnEachSignedKey:
|
signatureValidOnEachSignedKey:
|
||||||
type: boolean
|
type: boolean
|
||||||
SpamReport:
|
SpamReport:
|
||||||
|
@ -3589,10 +3581,7 @@ components:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
identityKey:
|
identityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
format: byte
|
|
||||||
unidentifiedAccess:
|
unidentifiedAccess:
|
||||||
type: string
|
type: string
|
||||||
unrestrictedUnidentifiedAccess:
|
unrestrictedUnidentifiedAccess:
|
||||||
|
@ -3629,10 +3618,7 @@ components:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
identityKey:
|
identityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
format: byte
|
|
||||||
unidentifiedAccess:
|
unidentifiedAccess:
|
||||||
type: string
|
type: string
|
||||||
unrestrictedUnidentifiedAccess:
|
unrestrictedUnidentifiedAccess:
|
||||||
|
@ -3660,10 +3646,7 @@ components:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
identityKey:
|
identityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
format: byte
|
|
||||||
unidentifiedAccess:
|
unidentifiedAccess:
|
||||||
type: string
|
type: string
|
||||||
unrestrictedUnidentifiedAccess:
|
unrestrictedUnidentifiedAccess:
|
||||||
|
@ -3800,31 +3783,9 @@ components:
|
||||||
fail with an HTTP/409 response indicating that the client should prompt the user to
|
fail with an HTTP/409 response indicating that the client should prompt the user to
|
||||||
transfer data from an existing device.
|
transfer data from an existing device.
|
||||||
aciIdentityKey:
|
aciIdentityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
description: |
|
|
||||||
The ACI-associated identity key for the account, encoded as a base64 string. If
|
|
||||||
provided, an account will be created "atomically," and all other properties needed for
|
|
||||||
atomic account creation must also be present.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
description: |
|
|
||||||
The ACI-associated identity key for the account, encoded as a base64 string. If
|
|
||||||
provided, an account will be created "atomically," and all other properties needed for
|
|
||||||
atomic account creation must also be present.
|
|
||||||
format: byte
|
|
||||||
pniIdentityKey:
|
pniIdentityKey:
|
||||||
type: array
|
$ref: '#/components/schemas/IdentityKey'
|
||||||
description: |
|
|
||||||
The PNI-associated identity key for the account, encoded as a base64 string. If
|
|
||||||
provided, an account will be created "atomically," and all other properties needed for
|
|
||||||
atomic account creation must also be present.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
description: |
|
|
||||||
The PNI-associated identity key for the account, encoded as a base64 string. If
|
|
||||||
provided, an account will be created "atomically," and all other properties needed for
|
|
||||||
atomic account creation must also be present.
|
|
||||||
format: byte
|
|
||||||
aciSignedPreKey:
|
aciSignedPreKey:
|
||||||
$ref: '#/components/schemas/SignedPreKey'
|
$ref: '#/components/schemas/SignedPreKey'
|
||||||
pniSignedPreKey:
|
pniSignedPreKey:
|
||||||
|
|
Loading…
Reference in New Issue