Response Samples

Installing a single Web application

This request packet adds the PHPboard Web application to Plesk Application Vault and removes the PHPboard temporary files.

<packet version="1.4.2.0">
<siteapp>
  <install_packages>
      <filter>
            <filename>/usr/local/psa/tmp/PHPboard.rpm</filename>
      </filter>
  <remove_tmp_file/>
  </install_packages>
</siteapp>
</packet>

 

The positive response from the server looks as follows:

<packet version="1.4.2.0">
<siteapp>
  <install_packages>
      <result>
         <status>ok</status>
         <filename>/usr/local/psa/tmp/PHPboard.rpm</filename>
      </result>
  </install_packages>
</siteapp>
</packet> 

 

If the Web application file was not found, or if it was not a valid application package, the response from the server looks as follows:

<packet version="1.4.2.0">
<siteapp>
  <install_packages>
      <result>
         <status>error</status>
         <errcode>6008</errcode>
         <errtext>This file is not a valid Web application package.</errtext>
         <filename>/usr/local/psa/tmp/PHPboard.rpm</filename>
      </result>
  </install_packages>
</siteapp>
</packet>

 

Retrieving requirements for multiple Web applications

This request packet adds the PHPboard and WebTools Web applications to Plesk Application Vault.

<packet version="1.4.2.0">
<siteapp>
  <install_packages>
      <filter>
            <filename>/usr/local/psa/tmp/PHPboard.rpm</filename>
            <filename>/usr/local/psa/tmp/WebTools.rpm</filename>
      </filter>
  </install_packages>
</siteapp>
</packet>

 

If the operation succeeded, the response from the server looks as follows:

<packet version="1.4.2.0">
<siteapp>
  <install_packages>
      <result>
         <status>ok</status>
         <filename>/usr/local/psa/tmp/PHPboard.rpm</filename>
      </result>
      <result>
         <status>ok</status>
         <filename>/usr/local/psa/tmp/WebTools.rpm</filename>
      </result>
  </install_packages>
</siteapp>
</packet>