Skip to content

Revisions

Understanding the revision history of a file.

Making changes to the content of an existing file creates a new revision. Revisions are immutable and can be viewed or restored while retained. History above the retention floor is complete; base compaction can remove older revisions while keeping each visible file’s newest revision at or below the floor. See Data lifecycle.

You can list retained revisions for a file using List file revisions. Alternatively, the inode ID can be used with List file revisions by inode.

Download a previous revision using Begin download with revision_no, or use the inode ID download endpoints.

Old revisions can be restored as current using the commit operation restore_revision. See Transactions.

Restoring revisions vs. recovering deleted files

Section titled “Restoring revisions vs. recovering deleted files”

Recovering a deleted file falls under Trash & recovery.