Ravi Nori has posted comments on this change.
Change subject: restapi : Add /applications sub-collection under vm(#926928)
......................................................................
Patch Set 3: 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-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>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: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches