Updating documentation
This commit is contained in:
parent
9404dfb89e
commit
728757fbdd
|
@ -2522,6 +2522,10 @@ components:
|
||||||
type: string
|
type: string
|
||||||
signature:
|
signature:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
A signed Kyber-1024 "last resort" pre-key to be associated with this account's PNI. If
|
||||||
|
provided, an account will be created "atomically," and all other properties needed for
|
||||||
|
atomic account creation must also be present.
|
||||||
UsernameHashResponse:
|
UsernameHashResponse:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -2660,6 +2664,12 @@ components:
|
||||||
type: string
|
type: string
|
||||||
voipRegistrationId:
|
voipRegistrationId:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
An APNs token set for the account's primary device. If provided, the account's primary
|
||||||
|
device will be notified of new messages via push notifications to the given token. If
|
||||||
|
creating an account "atomically," callers must provide exactly one of an APNs token
|
||||||
|
set, an FCM token, or an `AccountAttributes` entity with `fetchesMessages` set to
|
||||||
|
`true`.
|
||||||
GcmRegistrationId:
|
GcmRegistrationId:
|
||||||
required:
|
required:
|
||||||
- gcmRegistrationId
|
- gcmRegistrationId
|
||||||
|
@ -2667,6 +2677,12 @@ components:
|
||||||
properties:
|
properties:
|
||||||
gcmRegistrationId:
|
gcmRegistrationId:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
An FCM/GCM token for the account's primary device. If provided, the account's primary
|
||||||
|
device will be notified of new messages via push notifications to the given token. If
|
||||||
|
creating an account "atomically," callers must provide exactly one of an APNs token
|
||||||
|
set, an FCM token, or an `AccountAttributes` entity with `fetchesMessages` set to
|
||||||
|
`true`.
|
||||||
DeviceName:
|
DeviceName:
|
||||||
required:
|
required:
|
||||||
- deviceName
|
- deviceName
|
||||||
|
@ -3508,19 +3524,65 @@ components:
|
||||||
RegistrationRequest:
|
RegistrationRequest:
|
||||||
required:
|
required:
|
||||||
- accountAttributes
|
- accountAttributes
|
||||||
|
- skipDeviceTransfer
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
sessionId:
|
sessionId:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
The ID of an existing verification session as it appears in a verification session
|
||||||
|
metadata object. Must be provided if `recoveryPassword` is not provided; must not be
|
||||||
|
provided if `recoveryPassword` is provided.
|
||||||
recoveryPassword:
|
recoveryPassword:
|
||||||
type: array
|
type: array
|
||||||
|
description: |
|
||||||
|
A base64-encoded registration recovery password. Must be provided if `sessionId` is
|
||||||
|
not provided; must not be provided if `sessionId` is provided
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
A base64-encoded registration recovery password. Must be provided if `sessionId` is
|
||||||
|
not provided; must not be provided if `sessionId` is provided
|
||||||
format: byte
|
format: byte
|
||||||
accountAttributes:
|
accountAttributes:
|
||||||
$ref: '#/components/schemas/AccountAttributes'
|
$ref: '#/components/schemas/AccountAttributes'
|
||||||
skipDeviceTransfer:
|
skipDeviceTransfer:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
description: |
|
||||||
|
If true, indicates that the end user has elected not to transfer data from another
|
||||||
|
device even though a device transfer is technically possible given the capabilities of
|
||||||
|
the calling device and the device associated with the existing account (if any). If
|
||||||
|
false and if a device transfer is technically possible, the registration request will
|
||||||
|
fail with an HTTP/409 response indicating that the client should prompt the user to
|
||||||
|
transfer data from an existing device.
|
||||||
|
aciIdentityKey:
|
||||||
|
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.
|
||||||
|
pniIdentityKey:
|
||||||
|
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.
|
||||||
|
aciSignedPreKey:
|
||||||
|
$ref: '#/components/schemas/SignedPreKey'
|
||||||
|
pniSignedPreKey:
|
||||||
|
$ref: '#/components/schemas/SignedPreKey'
|
||||||
|
aciPqLastResortPreKey:
|
||||||
|
$ref: '#/components/schemas/SignedPreKey'
|
||||||
|
pniPqLastResortPreKey:
|
||||||
|
$ref: '#/components/schemas/SignedPreKey'
|
||||||
|
apnToken:
|
||||||
|
$ref: '#/components/schemas/ApnRegistrationId'
|
||||||
|
gcmToken:
|
||||||
|
$ref: '#/components/schemas/GcmRegistrationId'
|
||||||
|
everySignedKeyValid:
|
||||||
|
type: boolean
|
||||||
|
completeRequest:
|
||||||
|
type: boolean
|
||||||
valid:
|
valid:
|
||||||
type: boolean
|
type: boolean
|
||||||
UserRemoteConfig:
|
UserRemoteConfig:
|
||||||
|
|
Loading…
Reference in New Issue