The get-components operation is used in the following situations:
Note: This operation is supported only in Plesk for Unix.
A request XML packet retrieving status of Plesk Updater includes the get-components operation node:
<packet version="1.5.0.0">
<updater>
<get-components>
...
</get-components>
</updater>
</packet>
The graphical representation of the get-components node is as follows:
The get-components node of the output XML packet is presented by type UpdaterGetComponentsOutputType (updater.xsd
) and structured as follows:
common.xsd
).updater.xsd
).If the component node is present in the response packet, the following nodes are required:
This request packet retrieves components of the update with ID 8.
<packet version="1.5.0.0">
<updater>
<get-components>
<update-id>PLESK_8_1_1</update-id>
</get-components>
</updater>
</packet>
Response:
<packet version="1.5.0.0">
<updater>
<get-components>
<result>
<status>ok</status>
<component>
<id>base</id>
<action>upgrade</action>
<description>Base packages of Plesk</description>
<server-build-time>1172072935</server-build-time>
<local-build-time>1171899420</local-build-time>
<server-version>8.1.1-suse9.3.build81070219.20</server-version>
<local-version>8.1.1-suse9.3.build81070221.20</local-version>
</component>
...
<id>ja-JP-locale</id>
<action>up2date</action>
<description>Japanese language pack</description>
<server-build-time>1171545168</server-build-time>
<local-build-time>1171545168</local-build-time>
<server-version>8.1-build81070215.19</server-version>
<local-version>8.1-build81070215.19</local-version>
</component>
</result>
</get-components>
</updater>
</packet>