upload

Complete multipart upload

Changed on

Assemble the uploaded parts into the final object and add it to your media library. Send every part with the ETag returned by its PUT. A 500 is always retryable — whatever we have (your parts, or the assembled object) is kept, so retry this call rather than re-uploading. A 400 is final: either the part list was wrong, or the file itself was rejected (empty, wrong type, too large, no readable preview) and its bytes have been deleted. A 403 means quota or permissions and is raised before assembly, so your parts are still open — call abort yourself. Calling this again after it already succeeded returns the same upload instead of charging you twice.

post/api/v1/upload/multipart/complete

Request

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

Request body

teamIdstring nullable
pathstring required
uploadIdstring required

Response

200

idstring required
teamIdstring nullable
organizationIdstring nullable
iconUrlstring uri nullable
thumbnailUrlstring uri nullable
urlstring uri nullable
externalLinkstring uri nullable
iconPathstring nullable
thumbnailPathstring nullable
pathstring nullable
type'image' | 'video' | 'document' required
widthnumber nullable
heightnumber nullable
fileSizenumber nullable
videoLengthnumber nullable
mimestring nullable
extstring nullable
createdAtstring date-time nullable required
updatedAtstring date-time nullable required

Changes