revert uri document
/members/{member}/groups/{group}/uris/{uri}/revert [POST]
API Support | Available since | Last updated | Output |
---|---|---|---|
5.9907 | 5.9907 | xml |
Description
Revert a document's content to a previous version. It is equivalent to downloading that version of the document and then uploading it over the existing one.
Parameters
Name | Description | Required | Type | Default value |
---|---|---|---|---|
overwrite-properties | whether to revert document metadata and properties (title, docid, description, labels) | no | boolean | false |
versionid | the ID of the event to revert this document to | yes | string |
Permission
Requires approver or higher in the group.
Response
<document-revert modified="[true|false]"> [<errors> <error>...</error> ... </errors>] [<warnings> <warning>...</warning> ... </warnings>] </document-revert>
Error Handling
No specific errors expected for this generator.