Updating documentation
This commit is contained in:
parent
85d2ea9eef
commit
9e603380fb
|
@ -1967,12 +1967,18 @@ paths:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- Directory
|
- Directory
|
||||||
|
summary: Generate credentials for Contact Discovery Service
|
||||||
|
description: "Generate Contact Discovery Service credentials. Generated credentials\
|
||||||
|
\ have an expiration time of 24 hours \n(however, the TTL is fully controlled\
|
||||||
|
\ by the server and may change even for already generated credentials).\n"
|
||||||
operationId: getAuthToken
|
operationId: getAuthToken
|
||||||
responses:
|
responses:
|
||||||
default:
|
"200":
|
||||||
description: default response
|
description: '`JSON` with generated credentials.'
|
||||||
content:
|
content:
|
||||||
application/json: {}
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/ExternalServiceCredentials'
|
||||||
security:
|
security:
|
||||||
- authenticatedAccount: []
|
- authenticatedAccount: []
|
||||||
/v1/donation/redeem-receipt:
|
/v1/donation/redeem-receipt:
|
||||||
|
@ -2978,10 +2984,16 @@ paths:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- Remote Config
|
- Remote Config
|
||||||
|
summary: Fetch remote configuration
|
||||||
|
description: |
|
||||||
|
Remote configuration is a list of namespaced keys that clients may use for consistent configuration or behavior.
|
||||||
|
|
||||||
|
Configuration values change over time, and the list should be refreshed periodically, typically at client
|
||||||
|
launch and every few hours thereafter.
|
||||||
operationId: getAll
|
operationId: getAll
|
||||||
responses:
|
responses:
|
||||||
default:
|
"200":
|
||||||
description: default response
|
description: Remote configuration values for the authenticated user
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
@ -2992,10 +3004,14 @@ paths:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- Secure Storage
|
- Secure Storage
|
||||||
|
summary: Generate credentials for Storage Service
|
||||||
|
description: "Generate Storage Service credentials. Generated credentials have\
|
||||||
|
\ an expiration time of 24 hours \n(however, the TTL is fully controlled by\
|
||||||
|
\ the server and may change even for already generated credentials).\n"
|
||||||
operationId: getAuth_1
|
operationId: getAuth_1
|
||||||
responses:
|
responses:
|
||||||
default:
|
"200":
|
||||||
description: default response
|
description: '`JSON` with generated credentials.'
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
@ -5264,6 +5280,7 @@ components:
|
||||||
urgent:
|
urgent:
|
||||||
type: boolean
|
type: boolean
|
||||||
timestamp:
|
timestamp:
|
||||||
|
maximum: 8640000000000000
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
AccountMismatchedDevices:
|
AccountMismatchedDevices:
|
||||||
|
@ -5750,20 +5767,30 @@ components:
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
description: Name of the configuration
|
||||||
|
example: android.exampleFeature
|
||||||
enabled:
|
enabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
description: Whether the configuration is enabled for the user
|
||||||
value:
|
value:
|
||||||
type: string
|
type: string
|
||||||
|
description: "The value to be used for the configuration, if it is a non-boolean\
|
||||||
|
\ type"
|
||||||
|
description: List of remote configurations applicable to the user
|
||||||
UserRemoteConfigList:
|
UserRemoteConfigList:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
config:
|
config:
|
||||||
type: array
|
type: array
|
||||||
|
description: List of remote configurations applicable to the user
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/UserRemoteConfig'
|
$ref: '#/components/schemas/UserRemoteConfig'
|
||||||
serverEpochTime:
|
serverEpochTime:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
Timestamp when the configuration was generated. Deprecated in favor of `X-Signal-Timestamp` response header.
|
||||||
format: date-time
|
format: date-time
|
||||||
|
deprecated: true
|
||||||
AuthCheckResponseV2:
|
AuthCheckResponseV2:
|
||||||
required:
|
required:
|
||||||
- matches
|
- matches
|
||||||
|
|
Loading…
Reference in New Issue