To retrieve a list of XML API protocol versions supported on a Plesk server, send to the server a request packet with the get_protos operational node:
<packet>
<server>
<get_protos/>
</server>
</packet>
The get_protos node is presented by the GetProtosType (server_input.xsd
).
Response packet
The get_protos node of the response packet received from server is presented by the complex type GetProtosType (server_output.xsd
) and is structured as follows:
server_output.xsd
).server_output.xsd
).
A positive response received from server can look as follows:
<packet>
<server>
<get_protos>
<result>
<status>ok</status>
<protos>
<proto>1.0.0.0</proto>
<proto>1.1.0.0</proto>
<proto>1.2.0.0</proto>
<proto>1.3.0.0</proto>
<proto>1.3.1.0</proto>
<proto>1.3.2.0</proto>
<proto>1.3.3.0</proto>
<proto>1.3.4.0</proto>
<proto>1.3.5.0</proto>
<proto>1.4.0.0</proto>
<proto>1.4.1.0</proto>
<proto>1.4.2.0</proto>
<proto>1.4.1.1</proto>
<proto>1.4.1.2</proto>
</protos>
</result>
</get_protos>
</server>
</packet>