Updating documentation

This commit is contained in:
Documentation Updater 2024-11-26 23:24:32 +00:00
parent 36d86e83cf
commit d953f5cde3
1 changed files with 24 additions and 25 deletions

View File

@ -1691,7 +1691,12 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/TransferArchiveResult' description: |
The location of the transfer archive if the archive was successfully uploaded, otherwise a error indicating that
the upload has failed and the destination device should stop waiting
oneOf:
- $ref: '#/components/schemas/RemoteAttachment'
- $ref: '#/components/schemas/RemoteAttachmentError'
"204": "204":
description: No transfer archive was uploaded before the call completed; description: No transfer archive was uploaded before the call completed;
clients may repeat the call to continue waiting clients may repeat the call to continue waiting
@ -4264,9 +4269,6 @@ components:
- cdn - cdn
- key - key
type: object type: object
allOf:
- $ref: '#/components/schemas/TransferArchiveResult'
- type: object
properties: properties:
cdn: cdn:
type: integer type: integer
@ -4664,10 +4666,6 @@ components:
required: required:
- error - error
type: object type: object
description: Indicates an attachment failed to upload
allOf:
- $ref: '#/components/schemas/TransferArchiveResult'
- type: object
properties: properties:
error: error:
type: string type: string
@ -4675,14 +4673,15 @@ components:
enum: enum:
- RELINK_REQUESTED - RELINK_REQUESTED
- CONTINUE_WITHOUT_UPLOAD - CONTINUE_WITHOUT_UPLOAD
description: Indicates an attachment failed to upload
TransferArchiveResult: TransferArchiveResult:
type: object type: object
description: | description: |
The location of the transfer archive if the archive was successfully uploaded, otherwise a error indicating that The location of the transfer archive if the archive was successfully uploaded, otherwise a error indicating that
the upload has failed and the destination device should stop waiting the upload has failed and the destination device should stop waiting
oneOf: oneOf:
- $ref: '#/components/schemas/RemoteAttachmentError'
- $ref: '#/components/schemas/RemoteAttachment' - $ref: '#/components/schemas/RemoteAttachment'
- $ref: '#/components/schemas/RemoteAttachmentError'
TransferArchiveUploadedRequest: TransferArchiveUploadedRequest:
required: required:
- transferArchive - transferArchive