5.5

Table Of Contents
organizationName="Engineering"
numberOfTemplates="8"
numberOfMedia="1"
name="catalog1"
isShared="true"
isPublished="true"
description=""
createdOn="2011-03-22T16:14:06.360-07:00"
href="https://vcloud.example.com/api/catalog/91" />
</QueryResultRecords>
Packaged query using references format.
GET https://vcloud.example.com/api/catalogs/query?format=references
Response:
<CatalogReferences
xmlns="http://www.vmware.com/vcloud/v1.5"
total="15"
pageSize="25"
page="1"
name="catalog"
type="application/vnd.vmware.vcloud.query.references+xml"
href="https://vcloud.example.com/api/catalogs/query?
page=1&amp;pageSize=25&amp;format=references"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ... >
<Link
rel="alternate"
type="application/vnd.vmware.vcloud.query.records+xml"
href="https://vcloud.example.com/api/catalogs/query?
type=catalog&amp;page=1&amp;pageSize=25&amp;format=records" />
<CatalogReference
type="application/vnd.vmware.vcloud.catalog+xml"
name="VAM"
href="https://vcloud.example.com/api/catalog/150" />
<CatalogReference
type="application/vnd.vmware.vcloud.catalog+xml"
name="QA-Cat"
href="https://vcloud.example.com/api/catalog/78" />
<CatalogReference
type="application/vnd.vmware.vcloud.catalog+xml"
name="Catalog-3f79780c-6b0"
href="https://vcloud.example.com/api/catalog/99" />
<CatalogReference
type="application/vnd.vmware.vcloud.catalog+xml"
name="TestCat"
href="https://vcloud.example.com/api/catalog/43" />
<CatalogReference
type="application/vnd.vmware.vcloud.catalog+xml"
name="catalog1"
href="https://vcloud.example.com/api/catalog/91" />
</CatalogReferences>
Chapter 9 Using the Query Service
VMware, Inc. 297