Updating documentation
This commit is contained in:
parent
d130ec5785
commit
5159a594c3
|
@ -117,6 +117,11 @@ paths:
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
'*/*':
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/ScoreThreshold'
|
||||||
responses:
|
responses:
|
||||||
default:
|
default:
|
||||||
description: default response
|
description: default response
|
||||||
|
@ -474,6 +479,22 @@ paths:
|
||||||
$ref: '#/components/schemas/AccountIdentityResponse'
|
$ref: '#/components/schemas/AccountIdentityResponse'
|
||||||
security:
|
security:
|
||||||
- authenticatedAccount: []
|
- authenticatedAccount: []
|
||||||
|
/v2/accounts/data_report:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- Account
|
||||||
|
summary: Produces a report of non-ephemeral account data stored by the service
|
||||||
|
operationId: getAccountDataReport
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: Response with data report. A plain text representation is a
|
||||||
|
field in the response.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/AccountDataReportResponse'
|
||||||
|
security:
|
||||||
|
- authenticatedAccount: []
|
||||||
/v2/accounts/phone_number_discoverability:
|
/v2/accounts/phone_number_discoverability:
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
|
@ -2417,6 +2438,12 @@ components:
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
format: byte
|
format: byte
|
||||||
|
ScoreThreshold:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
scoreThreshold:
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
TurnToken:
|
TurnToken:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -2600,6 +2627,66 @@ components:
|
||||||
format: int32
|
format: int32
|
||||||
valid:
|
valid:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
AccountAndDevicesDataReport:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
account:
|
||||||
|
$ref: '#/components/schemas/AccountDataReport'
|
||||||
|
devices:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/DeviceDataReport'
|
||||||
|
AccountDataReport:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
phoneNumber:
|
||||||
|
type: string
|
||||||
|
badges:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/BadgeDataReport'
|
||||||
|
allowSealedSenderFromAnyone:
|
||||||
|
type: boolean
|
||||||
|
findAccountByPhoneNumber:
|
||||||
|
type: boolean
|
||||||
|
AccountDataReportResponse:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
reportId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
reportTimestamp:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/AccountAndDevicesDataReport'
|
||||||
|
text:
|
||||||
|
type: string
|
||||||
|
description: A plaintext representation of the data report
|
||||||
|
BadgeDataReport:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
expiration:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
visible:
|
||||||
|
type: boolean
|
||||||
|
DeviceDataReport:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
lastSeen:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
created:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
userAgent:
|
||||||
|
type: string
|
||||||
PhoneNumberDiscoverabilityRequest:
|
PhoneNumberDiscoverabilityRequest:
|
||||||
required:
|
required:
|
||||||
- discoverableByPhoneNumber
|
- discoverableByPhoneNumber
|
||||||
|
|
Loading…
Reference in New Issue