Updating documentation
This commit is contained in:
parent
e522f30140
commit
e37ab06fa3
|
@ -693,6 +693,47 @@ paths:
|
||||||
security:
|
security:
|
||||||
- authenticatedAccount: []
|
- authenticatedAccount: []
|
||||||
- {}
|
- {}
|
||||||
|
delete:
|
||||||
|
tags:
|
||||||
|
- Archive
|
||||||
|
summary: Delete entire backup
|
||||||
|
description: |
|
||||||
|
Delete all backup metadata, objects, and stored public key. To use backups again, a public key must be resupplied.
|
||||||
|
operationId: deleteBackup
|
||||||
|
parameters:
|
||||||
|
- name: X-Signal-ZK-Auth
|
||||||
|
in: header
|
||||||
|
description: "Presentation of a ZK backup auth credential acquired from /v1/archives/auth,\
|
||||||
|
\ encoded in standard padded base64"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
- name: X-Signal-ZK-Auth-Signature
|
||||||
|
in: header
|
||||||
|
description: "Signature of the ZK auth credential's presentation, encoded\
|
||||||
|
\ in standard padded base64"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
responses:
|
||||||
|
"204":
|
||||||
|
description: The backup has been successfully removed
|
||||||
|
"429":
|
||||||
|
description: Rate limited.
|
||||||
|
"403":
|
||||||
|
description: Forbidden. The request had insufficient permissions to perform
|
||||||
|
the requested action
|
||||||
|
"401":
|
||||||
|
description: |-
|
||||||
|
The provided backup auth credential presentation could not be verified or
|
||||||
|
The public key signature was invalid or
|
||||||
|
There is no backup associated with the backup-id in the presentation
|
||||||
|
"400":
|
||||||
|
description: Bad arguments. The request may have been made on an authenticated
|
||||||
|
channel
|
||||||
|
security:
|
||||||
|
- authenticatedAccount: []
|
||||||
|
- {}
|
||||||
/v1/archives/media/batch:
|
/v1/archives/media/batch:
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
|
@ -2172,6 +2213,10 @@ paths:
|
||||||
in: header
|
in: header
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Anonymous'
|
$ref: '#/components/schemas/Anonymous'
|
||||||
|
- name: Group-Send-Token
|
||||||
|
in: header
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/GroupSendTokenHeader'
|
||||||
- name: User-Agent
|
- name: User-Agent
|
||||||
in: header
|
in: header
|
||||||
schema:
|
schema:
|
||||||
|
@ -4112,10 +4157,10 @@ components:
|
||||||
WebSocketClient:
|
WebSocketClient:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
userAgent:
|
|
||||||
type: string
|
|
||||||
open:
|
open:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
userAgent:
|
||||||
|
type: string
|
||||||
createdTimestamp:
|
createdTimestamp:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
|
Loading…
Reference in New Issue