presign_task_attachments
Generate presigned S3 upload URLs for multiple files to attach to a task. Each file must be under 25 MB and from allowed MIME types; upload using the returned URLs before finalizing attachments.
Instructions
Batch-presign S3 PUT URLs for files to attach to a task.
task_id accepts any reference form — UUID, sequence shorthand
(#123, personal-org only), canonical ref (acme-123), or app URL
— and is resolved to a UUID before presigning.
files is a list of {filename, content_type, size_bytes}
records (the wire keys match the backend PresignRequest struct
— no serde renames). The server enforces a 25 MB per-file cap and
a blocked-MIME list; violations return 400. Returns a list of
{attachment_id, put_url, expires_at} records — the caller
PUTs each blob to its url before invoking commit_task_attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| files | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |