Tasks

Finalize image upload

Changed on

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

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

Request

  • Base URL
    https://cloud.kaneo.app/api
  • URL
    https://cloud.kaneo.app/api/task/image-upload/{id}/finalize
  • Auth
    HTTP bearer

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

    • breaking

      removed the media type text/plain for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the media type text/plain for the response with the status

    • info

      added the media type text/plain for the response with the status

    • info

      added the media type text/plain for the response with the status

    • info

      added the non-success response with the status