Attachment Upload
Endpoint
POST /{api_prefix}/{attachment_prefix}/upload
Key Inputs
file(required)size_name,w,h,fitfor image resizingvisibility(private|public|temp_private|temp_public)as_tempto force temp visibilitytemp_timeout_minutesortemp_timeout_at
Clone Temp Endpoint
POST /{api_prefix}/{attachment_prefix}/clone-temp
Clone creates a new attachment record and copies the source asset into a new path, with optional temp-specific timeout.
Notes
- Temp timeout resolves in this order:
temp_timeout_at->temp_timeout_minutes->attachments.temp_lifetimefallback. temp_timeout_atandtemp_timeout_minutesare both capped byattachments.max_temp_timeout_minutes.- Disk mapping is visibility-driven (
public/temp_publicon public disk; others on local disk).