Detailed information on software components currently installed on a server is held by the components node. The components node of the response XML packet has the following structure:

image 37040

  • The component node is required. It wraps the collection of data describing a particular component. Data type: none.
  • The name node is required. It returns the software component name. Data type: string.
  • The version node is required. It returns the detailed information on the component version, or states that the component is not installed on the server. Data type: string.

A reduced response packet received from server can look as follows:

<packet>
    <server>
        <get>
            <result>
                <status>ok</status>
                <components>
                    <component>
                        <name>SSHTerm</name>
                        <version>0.2.2-debian3.1.build81061120.18</version>
                    </component>
                    ...
                    <component>
                        <name>webalizer</name>
                        <version>2.01.10-26</version>
                    </component>
                </components>
            </result>
        </get>
    </server>
</packet>