Web service API

How to use PageSeeder's Web service API

revert uri fragment

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

com.pageseeder.psml.RevertFragment

Description

Revert Fragment's Content

Revert a fragment to the edit provided.

Parameters

NameDescriptionRequiredTypeDefault value
editid ID of the edit to get the content from yes string
labels Comma separated list of edit labels (if not specified, the labels of the edit are used, if empty, no labels are used) no string
lastmodified The last modified date/time (ISO 8601) of the fragment (prevents edit clashes) no string
note content for edit notes (if exists creates a note) no string
note-labels Comma separated list of labels for the note (if exists creates a note) no string
note-notify the note notification behavior no notification silent
note-title title for edit note no string Edit Note
transclude A flag to resolve transclusions when outputting result no boolean true

Permission

Undocumented permissions requirements.

Response

Undocumented XML response

Error Handling

No specific errors expected for this service.

Created on , last edited on