Retrieving Plesk Updates

The get-updates operation is used to show list of available Plesk updates. In Plesk for Unix this operation retrieves the current release if there are no updates.

In this chapter:

Request Packet

Response Packet Structure

Samples

 

Request Packet

A request XML packet retrieving Plesk updates includes the get-updates operation node:

<packet version="1.5.0.0">
<updater>
   <get-updates/>
</updater>
</packet>

 

The get-updates node is required. Data type: none.

 

Response Packet Structure

The get-updates node of the output XML packet is presented by type UpdaterGetUpdatesOutputType (updater.xsd) and structured as follows:

GetUpdates_RePS

 

 

Samples

This request retrieves Plesk updates :

<packet version="1.5.0.0">
<updater>
   <get-updates/>
</updater>
</packet>

Response (for Unix):

<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.5.0.0">
  <updater>
    <get-updates>
      <result>
        <status>ok</status>
        <update>
          <id>PLESK_8_1_1</id>
          <action>up2date</action>
          <description>Plesk 8.1.1</description>
        </update>
      </result>
    </get-updates>
  </updater>
</packet>