Skip to main content

 Services

Web services from /about to /webhooks

Revert URI document

/members/{member}/groups/{group}/uris/{uri}/revert [POST]

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, except that the previous version’s edit notes are not reverted.

Parameters

NameDescriptionRequiredTypeDefault value
overwrite-propertieswhether to revert document metadata and properties (title, docid, description, labels)nobooleanfalse
versionidthe ID of the event to revert this document toyesstring

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

Error codes
CodeCause / Description
0x123BVersion not found
Created on , last edited on