API commando: LIST
API voorbeeld:
https://my.mihos.net/api/cloud/?c=list
API variabelen:
c list
API repons:
<?xml version='1.0'?> <xml> <login> <status>OK</status> <response>Hello, customer '12345'</response> </login> <cloud> <list> <result>OK</result> <server> <vm>1234</vm> <ip>1.2.3.4</ip> <hostname>server.name.nl</hostname> <addip> <ip>1.2.3.6</ip> <ip>1.2.3.7</ip> </addip> <cpu>2</cpu> <ram>2048</ram> <hdd>75</hdd> <traffic>2000</traffic> <template>centos-7</template> <controlpanel></controlpanel> <price>24</price> <sla>no</sla> <snapshots>1</snapshots> <backups>yes</backups> <setup>24-03-16</setup> </server> <server> <vm>1235</vm> <ip>1.2.3.5</ip> <hostname>server.name.net</hostname> <addip> </addip> <cpu>4</cpu> <ram>8192</ram> <hdd>300</hdd> <traffic>1000</traffic> <template>ubuntu-16</template> <controlpanel></controlpanel> <price>44</price> <sla>no</sla> <snapshots>1</snapshots> <backups>no</backups> <setup>05-08-16</setup> </server> </list> </cloud> </xml>