File Versions
Version history of a file (list, download, restore, delete) and upload confirmation
List the versions of a file
Requires viewer role or above on this bucket. Returns every uploaded version of the file, newest first. Pending and deleted versions are not listed.
Delete a file version or cancel a pending upload
Requires contributor role or above on this bucket. Permanently deletes an uploaded version, or cancels a version that is still being uploaded. The current version cannot be deleted. Version numbers are never reused.
Get a presigned download URL for a file version
Requires viewer role or above on this bucket. Only uploaded versions can be downloaded.
Confirm that a version upload completed
Requires contributor role or above on this bucket. Completes a pending upload and makes it the current version of the file. Required for multipart uploads, and for every upload on storage providers without bucket notifications. Confirming an upload that is already complete has no effect.
Make a previous version the current one
Requires contributor role or above on this bucket. The restored version becomes the current content of the file. Other versions are kept.