Ravi Nori has posted comments on this change.

Change subject: restapi : Add /applications sub-collection under vm(#926928)
......................................................................


Patch Set 4: Verified

if applist is a, b vms/9c6e826b-2ee2-4c58-a834-38108acf356b/applications returns

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<applications>
<application id="00000000-0000-0000-0000-000000000000" 
href="/api/vms/9c6e826b-2ee2-4c58-a834-38108acf356b/applications/00000000-0000-0000-0000-000000000000">
<vm id="9c6e826b-2ee2-4c58-a834-38108acf356b" 
href="/api/vms/9c6e826b-2ee2-4c58-a834-38108acf356b"/>
<appName>a</appName>
</application>
<application id="00000000-0000-0000-0000-000000000001" 
href="/api/vms/9c6e826b-2ee2-4c58-a834-38108acf356b/applications/00000000-0000-0000-0000-000000000001">
<vm id="9c6e826b-2ee2-4c58-a834-38108acf356b" 
href="/api/vms/9c6e826b-2ee2-4c58-a834-38108acf356b"/>
<appName>b</appName>
</application>
</applications>

and 
vms/9c6e826b-2ee2-4c58-a834-38108acf356b/applications/00000000-0000-0000-0000-000000000001
 returns

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<application id="00000000-0000-0000-0000-000000000001" 
href="/api/vms/9c6e826b-2ee2-4c58-a834-38108acf356b/applications/00000000-0000-0000-0000-000000000001">
<vm id="9c6e826b-2ee2-4c58-a834-38108acf356b" 
href="/api/vms/9c6e826b-2ee2-4c58-a834-38108acf356b"/>
<appName>b</appName>
</application>

--
To view, visit http://gerrit.ovirt.org/13493
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I8b7db49d2cc7b47c39ef3d4fff261a99c24dae42
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to