DescriptionAttachment

A request or response body; the type column links to the schemas it refers to.

DescriptionAttachment

FieldTypeRequiredDescription
idstring (uuid)yes—
file_namestringyes

The uploaded file's original name, kept verbatim for downloads.

content_typestringyes

The content type the store recorded at upload; any type is allowed.

labelstring | nullyes

Admin-written label shown in place of the file name, or null.

positionintegeryes

Authored order the attachments render in.

prefer_inline_displaybooleanyes

Whether to show the file on the page — a PDF or image drawn inline, video and audio in a player — or offer it as a download only. Files meant to be filled in or worked on locally set this false so they do not bury the rest of the page. A download is offered either way.

jsonExample
{
  "id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
  "file_name": "string",
  "content_type": "string",
  "label": "string",
  "position": 0,
  "prefer_inline_display": true
}