Get List of Compute Resources Used by Users' VSs
To get the list of compute resources used by user's VSs, use the following request:
GET onapp.com/users/:user_id/hypervisors.xml
GET onapp.com/users/:user_id/hypervisors.json
XML Request Example
curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/users/12/hypervisors.json
JSON Request Example
curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/users/12/hypervisors.json
An array of compute resources used by VSs of the user will be returned.
For details and parameters description refer to Get List of Compute Resources section.