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

Changed in 2 of the 23 revisions of this API.9

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • added the required property headers to the response with the 200 status

      response-required-property-added

    • added the required property key to the response with the 200 status

      response-required-property-added

    • added the required property uploadUrl to the response with the 200 status

      response-required-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added