Authorizations
Use the Bearer scheme with a valid JWT token to authenticate requests. Example: Authorization: Bearer <token>
Path Parameters
UUID of attachment to create
"347c5b04-cde2-11ed-afa1-0242ac120002"
UUID of the silo entry.
Body
Name of the file.
"invoice.pdf"
Base64 encoded binary data.
Description of the file.
"Invoice for January 2021."
When true, this attachment may be embedded inside other attachments, like PDFs. Default is false.
true
Any additional meta data about the attachment.
MIME type of the file to upload. Required when only creating placeholder.
"application/pdf"
SHA256 hex hash of the file that will be upload in a separate request. Required when only creating placeholder.
"27a0b656df99dc32124b4c49f2f3c35025f0a7453f289cbaa0701435cfcf4e28"
Response
OK
The date and time this attachment was created.
"2018-01-01T00:00:00.000Z"
Description of the file.
"Invoice for January 2021."
The UUID of the entry this attachment belongs to.
"347c5b04-cde2-11ed-afa1-0242ac120002"
SHA256 hash of the file.
"a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6"
The UUID that identifies the attachment.
Any additional meta data about the attachment.
MIME type of the file.
"application/pdf"
Name of the file.
"invoice.pdf"
Size of the file in bytes.
12345
When true, indicates that the file's contents have been uploaded successfully.
true
URL where the file's contents can be downloaded.