Updating documentation
This commit is contained in:
parent
d75cf059c0
commit
fbe5a0babb
|
@ -1756,7 +1756,16 @@ paths:
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/DeviceCapabilities'
|
uniqueItems: true
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- STORAGE
|
||||||
|
- TRANSFER
|
||||||
|
- DELETE_SYNC
|
||||||
|
- VERSIONED_EXPIRATION_TIMER
|
||||||
|
- STORAGE_SERVICE_RECORD_KEY_ROTATION
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
default:
|
default:
|
||||||
|
@ -3748,7 +3757,16 @@ components:
|
||||||
unrestrictedUnidentifiedAccess:
|
unrestrictedUnidentifiedAccess:
|
||||||
type: boolean
|
type: boolean
|
||||||
capabilities:
|
capabilities:
|
||||||
$ref: '#/components/schemas/DeviceCapabilities'
|
uniqueItems: true
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- STORAGE
|
||||||
|
- TRANSFER
|
||||||
|
- DELETE_SYNC
|
||||||
|
- VERSIONED_EXPIRATION_TIMER
|
||||||
|
- STORAGE_SERVICE_RECORD_KEY_ROTATION
|
||||||
discoverableByPhoneNumber:
|
discoverableByPhoneNumber:
|
||||||
type: boolean
|
type: boolean
|
||||||
recoveryPassword:
|
recoveryPassword:
|
||||||
|
@ -3759,17 +3777,6 @@ components:
|
||||||
pniRegistrationId:
|
pniRegistrationId:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
DeviceCapabilities:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
storage:
|
|
||||||
type: boolean
|
|
||||||
transfer:
|
|
||||||
type: boolean
|
|
||||||
deleteSync:
|
|
||||||
type: boolean
|
|
||||||
versionedExpirationTimer:
|
|
||||||
type: boolean
|
|
||||||
ApnRegistrationId:
|
ApnRegistrationId:
|
||||||
required:
|
required:
|
||||||
- apnRegistrationId
|
- apnRegistrationId
|
||||||
|
@ -4235,7 +4242,6 @@ components:
|
||||||
required:
|
required:
|
||||||
- encryptionKey
|
- encryptionKey
|
||||||
- hmacKey
|
- hmacKey
|
||||||
- iv
|
|
||||||
- mediaId
|
- mediaId
|
||||||
- objectLength
|
- objectLength
|
||||||
- sourceAttachment
|
- sourceAttachment
|
||||||
|
@ -4259,9 +4265,6 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: "A 32-byte encryption key for AES, encoded in standard padded\
|
description: "A 32-byte encryption key for AES, encoded in standard padded\
|
||||||
\ base64"
|
\ base64"
|
||||||
iv:
|
|
||||||
type: string
|
|
||||||
description: "A 16-byte IV for AES, encoded in standard padded base64"
|
|
||||||
RemoteAttachment:
|
RemoteAttachment:
|
||||||
required:
|
required:
|
||||||
- cdn
|
- cdn
|
||||||
|
@ -4742,7 +4745,8 @@ components:
|
||||||
format: int64
|
format: int64
|
||||||
commitmentIndex:
|
commitmentIndex:
|
||||||
type: string
|
type: string
|
||||||
description: The commitment index derived from a previous search request
|
description: "The commitment index derived from a previous search request,\
|
||||||
|
\ encoded in standard unpadded base64"
|
||||||
format: byte
|
format: byte
|
||||||
E164Monitor:
|
E164Monitor:
|
||||||
required:
|
required:
|
||||||
|
@ -4765,8 +4769,8 @@ components:
|
||||||
format: int64
|
format: int64
|
||||||
commitmentIndex:
|
commitmentIndex:
|
||||||
type: string
|
type: string
|
||||||
description: The commitment index derived from a previous search or monitor
|
description: "The commitment index derived from a previous search request,\
|
||||||
request
|
\ encoded in standard unpadded base64"
|
||||||
format: byte
|
format: byte
|
||||||
KeyTransparencyMonitorRequest:
|
KeyTransparencyMonitorRequest:
|
||||||
required:
|
required:
|
||||||
|
@ -4814,8 +4818,8 @@ components:
|
||||||
format: int64
|
format: int64
|
||||||
commitmentIndex:
|
commitmentIndex:
|
||||||
type: string
|
type: string
|
||||||
description: The commitment index derived from a previous search or monitor
|
description: "The commitment index derived from a previous search request,\
|
||||||
request
|
\ encoded in standard unpadded base64"
|
||||||
format: byte
|
format: byte
|
||||||
KeyTransparencySearchResponse:
|
KeyTransparencySearchResponse:
|
||||||
required:
|
required:
|
||||||
|
@ -5236,7 +5240,9 @@ components:
|
||||||
unrestrictedUnidentifiedAccess:
|
unrestrictedUnidentifiedAccess:
|
||||||
type: boolean
|
type: boolean
|
||||||
capabilities:
|
capabilities:
|
||||||
$ref: '#/components/schemas/UserCapabilities'
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: boolean
|
||||||
badges:
|
badges:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
@ -5245,13 +5251,6 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: A service identifier is a tuple of a UUID and identity type
|
description: A service identifier is a tuple of a UUID and identity type
|
||||||
that identifies an account and identity within the Signal service.
|
that identifies an account and identity within the Signal service.
|
||||||
UserCapabilities:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
deleteSync:
|
|
||||||
type: boolean
|
|
||||||
versionedExpirationTimer:
|
|
||||||
type: boolean
|
|
||||||
VersionedProfileResponse:
|
VersionedProfileResponse:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -5263,7 +5262,9 @@ components:
|
||||||
unrestrictedUnidentifiedAccess:
|
unrestrictedUnidentifiedAccess:
|
||||||
type: boolean
|
type: boolean
|
||||||
capabilities:
|
capabilities:
|
||||||
$ref: '#/components/schemas/UserCapabilities'
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: boolean
|
||||||
badges:
|
badges:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
@ -5300,7 +5301,9 @@ components:
|
||||||
unrestrictedUnidentifiedAccess:
|
unrestrictedUnidentifiedAccess:
|
||||||
type: boolean
|
type: boolean
|
||||||
capabilities:
|
capabilities:
|
||||||
$ref: '#/components/schemas/UserCapabilities'
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: boolean
|
||||||
badges:
|
badges:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
|
Loading…
Reference in New Issue