Tasks

Create image upload URL

Get a presigned URL for uploading an image used in a task description or comment. PUT the bytes to it, then call the finalize route.

put/task/image-upload/{id}

Path parameters

idstring required

Request body

filenamestring required
contentTypestring required
sizenumber required
surface'description' | 'comment' required

Where the image is used, which decides how it is scoped.

Response

The presigned upload

keystring required

Object key to send back to the finalize route.

uploadUrlstring required

Presigned URL to PUT the image bytes to.

headersobject required

Headers that must accompany the upload request, including Content-Type.

Changes