upload

Start an upload

Changed on
post/api/v1/upload/init

Request

  • Base URL
    https://api.melius.com
  • URL
    https://api.melius.com/api/v1/upload/init
  • Auth
    HTTP bearer and API key in header x-team-id

Request body

nodeIdstring uuid
filenamestring required
contentTypestring required
sizeInBytesinteger required
purpose'asset' | 'avatar' | 'team-photo' | 'custom-font' | 'comment-attachment' | 'brand-kit-guidelines'

Response

200

uploadIdstring required
s3Bucketstring required
s3Keystring required
partSizenumber required

Changes

    • info

      added the new brand-kit-guidelines enum value to the request property

    • info

      added the new comment-attachment enum value to the request property