Tasks

Stage a task attachment

Changed on

Upload an attachment before submitting a task. Staged assets are private to the uploader and expire after 24 hours.

post/task/draft-upload/{projectId}

Request

  • Base URL
    https://cloud.kaneo.app/api
  • URL
    https://cloud.kaneo.app/api/task/draft-upload/{projectId}
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Request body

filenamestring required
contentTypestring required
sizenumber required
surface'description' required

Response

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

    • 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

    • 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

    • 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

    • 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 media type text/plain for the response with the status

    • info

      added the non-success response with the status