Documentation Center

Complete install of incremental update

Once the LiveContent server has received and verified a incremental update that was either uploaded or downloaded, the complete install of incremental update API call can be made. The LiveContent server will now install the verified incremental update, re-index the entire XML database, regenerate reports and integrate the new media and XML content into the database.

Example API call

/servlets3/wietmsd?id=1459773629435&uniqid=1459773894298&collection=default&book=bike&target=update&action=install_updates

Parameters

ParameterDescription
targetupdate
actioninstall_updates
uniqidTo 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
<response status="success"> 
  <body>
  </body>
</response>
On failure
<response message="Info file is missing in updates&#x2E;" status="error">
  <body>
    <message message="Info file is missing in updates&#x2E;">
    </message>
  </body>
</response>