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.
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.
The get-updates node of the output XML packet is presented by type UpdaterGetUpdatesOutputType (updater.xsd
) and structured as follows:
common.xsd
).updater.xsd
).If the update node is present in the response packet, the following nodes are required:
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>