Register attachment
POST/entries/:id/attachments
Register attachment
Request
Path Parameters
id uuidrequired
Resource UUID.
Header Parameters
Idempotency-Key string
Optional idempotency key (24 h cache). Repeat calls with the same key and path return the cached response.
Body
required
fileNamestringrequired
fileSizestringrequired
fileTypestringrequired
objectPathstringrequired
categorystring | nullnullable
isAiGeneratedstring | nullnullable
Created
Schema
iduuidrequired
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6entryIduuidrequired
Example:
7b1e2c3d-0000-0000-0000-000000000001fileNamestringrequired
Example:
screenshot.pngfileSizestringrequired
File size in bytes (stored as string for precision).
Example:
204800fileTypestringrequired
MIME type.
Example:
image/pngobjectPathstringrequired
Example:
public/attachments/screenshot.pngcategorystring | nullnullablerequired
Example:
product_businesscreatedAtdate-timerequired
Example:
2025-01-15T10:30:00Z