Work with versionsUsing the Atom Publishing Protocol, also known as AtomPub, you can create, delete, or download a version of a file, and compare two versions.
Create a version
To create a version of a file, send a PUT request to your document library programmatically and include the createVersion=true parameter.
Retrieve a version of a file
Retrieve an Atom document representation of a version of a file from your library.
Delete all versions of a document
Removes versions of a file from your library.
Comparing two versions of a file
Get a feed that lists the differences between two versions of a file.
Parent topicFiles API