upload

Initialize multipart upload

Changed on

Start a multipart upload. Required above the 5 GiB single-request storage limit that /upload/init is bound by, and allowed for any smaller file too. Returns an uploadId plus one presigned URL per part; PUT each part, keep the ETag response header, then call complete with the full part list. Parts are 64 MiB each except the last, up to 10000 parts.

post/api/v1/upload/multipart/init

Request

  • Base URL
    https://api.bundle.social
  • URL
    https://api.bundle.social/api/v1/upload/multipart/init
  • Auth
    API key in header x-api-key

Request body

teamIdstring nullable
fileNamestring required
mimeType'image/jpg' | 'image/jpeg' | 'image/png' | 'image/gif' | 'video/mp4' | 'video/quicktime' | 'application/pdf' required
fileSizeinteger required

Response

200

uploadIdstring required
pathstring required
partSizeinteger required

Changes