The check operation is used to show current status of Plesk Updater. If it is installing a component or updating Plesk, the other operations are unavailable.
A request XML packet retrieving status of Plesk Updater includes the check operation node:
<packet version="1.5.0.0">
<updater>
<check/>
</updater>
</packet>
The check node is required. Data type: none.
The check node of the output XML packet is presented by type UpdaterCheckOutputType (updater.xsd
) and structured as follows:
common.xsd
).
This request retrievs status of Plesk Updater:
<packet version="1.5.0.0">
<updater>
<check/>
</updater>
</packet>
Response:
<packet version="1.5.0.0">
<updater>
<check>
<result>
<status>ok</status>
</result>
</check>
</updater>
</packet>
If Plesk Updater is busy, the response packet from the server will look as follows:
<packet version="1.5.0.0">
<updater>
<check>
<result>
<status>error</status>
<errcode>1035</errcode>
<errtext>Service is busy</errtext>
</result>
</check>
</updater>
</packet>