Product SiteDocumentation Site

8.3.7.  XML Element Relationships

XML element links define relationships between resources. These resources include:
An element link in a resource requires a special XML element tag to refer to another resource:
GET /rhevm-api/{collection}/{resource_id}/{subcollection}/{subresource_id} HTTP/1.1

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

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