v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01251238661.6 KB
v1
protected
files

Create Attachment Upload Url

Mint a presigned PUT for a task attachment uploaded directly to the store.

The client-declared sha256 is bound into the signature as ChecksumSHA256, so the object store rejects a body that does not hash to it — the upload is content-verified without the API ever seeing the bytes. The returned ref is consumed by the task-create endpoint exactly like a server-proxied one.

post/v1/files/upload-url

Request body

content_typestring required
filenamestring required
sha256string required
sizeinteger required

Response

Successful Response

expires_ininteger required
refstring required
upload_urlstring required