Updating documentation
This commit is contained in:
parent
d7e42ae922
commit
78e76338c8
|
@ -1220,26 +1220,6 @@ paths:
|
||||||
$ref: '#/components/schemas/ExternalServiceCredentials'
|
$ref: '#/components/schemas/ExternalServiceCredentials'
|
||||||
security:
|
security:
|
||||||
- authenticatedAccount: []
|
- authenticatedAccount: []
|
||||||
/v2/attachments/form/upload:
|
|
||||||
get:
|
|
||||||
tags:
|
|
||||||
- Attachments
|
|
||||||
operationId: getAttachmentUploadForm
|
|
||||||
parameters:
|
|
||||||
- name: User-Agent
|
|
||||||
in: header
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
default:
|
|
||||||
description: default response
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/AttachmentDescriptorV2'
|
|
||||||
deprecated: true
|
|
||||||
security:
|
|
||||||
- authenticatedAccount: []
|
|
||||||
/v4/attachments/form/upload:
|
/v4/attachments/form/upload:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
|
@ -1248,7 +1228,7 @@ paths:
|
||||||
description: |
|
description: |
|
||||||
Retrieve an upload form that can be used to perform a resumable upload. The response will include a cdn number
|
Retrieve an upload form that can be used to perform a resumable upload. The response will include a cdn number
|
||||||
indicating what protocol should be used to perform the upload.
|
indicating what protocol should be used to perform the upload.
|
||||||
operationId: getAttachmentUploadForm_1
|
operationId: getAttachmentUploadForm
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: "Success, response body includes upload form"
|
description: "Success, response body includes upload form"
|
||||||
|
@ -1329,6 +1309,31 @@ paths:
|
||||||
description: Rate limited.
|
description: Rate limited.
|
||||||
security:
|
security:
|
||||||
- authenticatedAccount: []
|
- authenticatedAccount: []
|
||||||
|
/v2/calling/relays:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- Calling
|
||||||
|
summary: Get 1:1 calling relay options for the client
|
||||||
|
description: |
|
||||||
|
Get 1:1 relay addresses in IpV4, Ipv6, and URL formats.
|
||||||
|
operationId: getCallingRelays_1
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: '`JSON` with call endpoints.'
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/GetCallingRelaysResponse'
|
||||||
|
"400":
|
||||||
|
description: Invalid get call endpoint request.
|
||||||
|
"401":
|
||||||
|
description: Account authentication check failed.
|
||||||
|
"422":
|
||||||
|
description: Invalid request format.
|
||||||
|
"429":
|
||||||
|
description: Rate limited.
|
||||||
|
security:
|
||||||
|
- authenticatedAccount: []
|
||||||
/v1/certificate/delivery:
|
/v1/certificate/delivery:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
|
@ -4244,28 +4249,6 @@ components:
|
||||||
description: |
|
description: |
|
||||||
The public key, serialized in libsignal's elliptic-curve public key format and then encoded as a standard (i.e.
|
The public key, serialized in libsignal's elliptic-curve public key format and then encoded as a standard (i.e.
|
||||||
not URL-safe), padded, base64-encoded string.
|
not URL-safe), padded, base64-encoded string.
|
||||||
AttachmentDescriptorV2:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
attachmentId:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
credential:
|
|
||||||
type: string
|
|
||||||
acl:
|
|
||||||
type: string
|
|
||||||
algorithm:
|
|
||||||
type: string
|
|
||||||
date:
|
|
||||||
type: string
|
|
||||||
policy:
|
|
||||||
type: string
|
|
||||||
signature:
|
|
||||||
type: string
|
|
||||||
attachmentIdString:
|
|
||||||
type: string
|
|
||||||
AttachmentDescriptorV3:
|
AttachmentDescriptorV3:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -4308,6 +4291,13 @@ components:
|
||||||
createCallLinkCredentialRequest:
|
createCallLinkCredentialRequest:
|
||||||
type: string
|
type: string
|
||||||
format: byte
|
format: byte
|
||||||
|
GetCallingRelaysResponse:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
relays:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/TurnToken'
|
||||||
DeliveryCertificate:
|
DeliveryCertificate:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -4517,13 +4507,13 @@ components:
|
||||||
WebSocketClient:
|
WebSocketClient:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
created:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
userAgent:
|
userAgent:
|
||||||
type: string
|
type: string
|
||||||
open:
|
open:
|
||||||
type: boolean
|
type: boolean
|
||||||
createdTimestamp:
|
|
||||||
type: integer
|
|
||||||
format: int64
|
|
||||||
WebSocketSessionContext:
|
WebSocketSessionContext:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -5116,15 +5106,13 @@ components:
|
||||||
Element:
|
Element:
|
||||||
required:
|
required:
|
||||||
- fingerprint
|
- fingerprint
|
||||||
|
- uuid
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
uuid:
|
uuid:
|
||||||
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.
|
||||||
aci:
|
|
||||||
type: string
|
|
||||||
description: An identifier for an account based on the account's ACI
|
|
||||||
fingerprint:
|
fingerprint:
|
||||||
type: string
|
type: string
|
||||||
format: byte
|
format: byte
|
||||||
|
|
Loading…
Reference in New Issue