Skip to main content

 Services

Web services from /about to /webhooks

revert uri document

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

com.pageseeder.psml.RevertDocument

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

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

No specific errors expected for this generator.

Created on , last edited on