Page tree
Skip to end of metadata
Go to start of metadata

To search virtual servers by label, run the following request:

GET /virtual_machines.xml?q=label
GET /virtual_machines.json?q=label

XML Request example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/virtual_machines.xml?q=label

JSON Request example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/virtual_machines.json?q=label

Where you have to specify the label of a virtual server you are searching for.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels