This article provides an overview of the attachment-related endpoints and functionality available for the HTTP Data API. Attachments consist of two distinct parts: metadata and a binary large object (blob) datastore. (See ATTACHMENT)Documentation Index
Fetch the complete documentation index at: https://docs.ditto.live/llms.txt
Use this file to discover all available pages before exploring further.
Uploading Attachments
Using the Multipart Form method, upload the raw binary contents of the file you want to attach:There are no size limits for attachments in Ditto, but the HTTP API enforces a 1MB limit for uploading attachments. This can be increased upon request.
Curl
Downloading Attachments
Using/api/v4/attachments/{attachment_id}, download attachments:
Curl