multipart
This commit is contained in:
@@ -435,7 +435,7 @@
|
||||
* $ref: '#/components/schemas/DeliveryFile'
|
||||
* DeliveryFile:
|
||||
* type: object
|
||||
* description: Attachment metadata (binary content is served via the attachment content endpoints)
|
||||
* description: Attachment metadata (binary content is served via the attachment content endpoints). Thumbnails (AVIF) are generated server-side.
|
||||
* required: [id, manifestId, fileId, sort, hash, mimetype, name, size]
|
||||
* properties:
|
||||
* id:
|
||||
@@ -467,6 +467,7 @@
|
||||
* type: string
|
||||
* format: byte
|
||||
* nullable: true
|
||||
* description: Base64-encoded AVIF thumbnail generated server-side (null for text files)
|
||||
* thumbx:
|
||||
* type: integer
|
||||
* nullable: true
|
||||
@@ -482,7 +483,7 @@
|
||||
* DeliveryFileInput:
|
||||
* type: object
|
||||
* required: [mimetype, name, content]
|
||||
* description: Attachment input. Only application/pdf and text/plain are accepted.
|
||||
* description: Attachment input. Only application/pdf and text/plain are accepted. Thumbnails are generated server-side and must not be supplied by the client.
|
||||
* properties:
|
||||
* mimetype:
|
||||
* type: string
|
||||
|
||||
Reference in New Issue
Block a user