Restoring a Revision

You can use the restoreRevision call to restore a file. Only file content will be restored. File metadata, including the file name and collaborators, cannot be restored.

Sample URL

https://hostname:port/context/rest/v2/documents/restoreRevision/{id}

Method

POST

Parameters

Parameter Description
versionNum Required.

The version to restore.

Response

This call returns a document object.