Information about Updates

The information about Plesk updates is held by the updates node, which is presented by complex type updatesOutput (server_output.xsd). The node is structured as follows:

updates

A response packet received from server can look as follows:

<packet>
  <server>
    <get>
      <result>
        <status>ok</status>
        <updates>
          <available_update>17</available_update>
          <available_update_type>Important</available_update_type>
          <security_updates>1</security_updates>
          <last_installed_update>15</last_installed_update>
          <install_updates_automatically>0</install_updates_automatically>
        </updates>
      </result>
    </get>
  </server>
</packet>