Confirm that a shared upload completed
POST/api/v1/shares/:shareId/files/:fileId/versions/:versionId/confirm
Requires a valid safebucket_share_token cookie if the share is password-protected. Required for multipart uploads, and for every upload on storage providers without bucket notifications, analogous to the authenticated version confirm flow. Confirming an upload that is already complete has no effect.
Request
Responses
- 204
- 400
- 403
- 404
- 409
Upload confirmed
Uploaded parts do not match the declared size (MULTIPART_SIZE_MISMATCH)
Uploads not allowed, file not part of this share, or file expired (SHARE_UPLOAD_NOT_ALLOWED, SHARE_FILE_NOT_IN_SHARE, FILE_EXPIRED)
File or version not found, or the object is missing from storage (FILE_NOT_FOUND, FILE_VERSION_NOT_FOUND, FILE_NOT_IN_STORAGE)
The version is not awaiting confirmation (INVALID_FILE_STATUS_TRANSITION)