Understanding revisions
Section titled “Understanding revisions”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.
Listing & restoring revisions
Section titled “Listing & restoring revisions”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.