Documentation Center

Rollback a publication to last known good state

Whenever a publication receives an incremental update, the previous version is stored in a rollback state and can be restored. If something is corrupted or unacceptable about the update, a rollback can be performed to restore to the previous state before the last incremental update.

Example API call

/servlets3/wietmsd?id=1459773629435&date=1459774387441&target=update&action=rollback&book=bike&collection=default

Parameters

ParameterDescription
targetupdate
actionrollback
dateTo prevent browser-side caching of data, especially with AJAX requests, it is important to make a URL unique. The most effective technique to accomplish this is to include a time parameter that is based on the time at which the call is made.
idA session ID that is valid for this collection and publication combination.
collectionThe name of the collection that the publication is registered in, such as default.
book The name of the publication, such as bike.

Returns

On success
<RESULTS>
  <SUCCESS/>
</RESULTS>
On failure
<RESULTS>
  <FAIL TYPE="NODATA" />
</RESULTS>