Tasks

Finalize image upload

Record an uploaded image as a private asset and return the URL to reference it by.

post/task/image-upload/{id}/finalize

Path parameters

idstring required

Request body

keystring required

The key returned when the URL was issued.

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

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

Response

The stored asset

idstring required
urlstring required

Where the stored image can be read back from.

Changes