Product SiteDocumentation Site

8.3.  Resources

This section examines common features for resources.

8.3.1.  Retrieving a Resource

The state of a resource is retrieved using GET request on a URI obtained from the listing above.
GET /rhevm-api/{collection}/{resource_id} HTTP/1.1
Accept: application/xml

HTTP/1.1 200 OK
Content-Type: application/xml

<{resource} id="{resource_id}" href="/rhevm-api/{collection}/{resource_id}">
    ...
</{resource}>