1.5

Table Of Contents
type="application/vnd.vmware.vcloud.org+xml"
href="https://vcloud.example.com/api/org/5">
<Link
rel="down"
type="application/vnd.vmware.vcloud.catalog+xml"
href="https://vcloud.example.com/api/catalog/32"
name="ExampleCatalog" />
<Link
rel="down"
type="application/vnd.vmware.vcloud.vdc+xml"
href="https://vcloud.example.com/api/vdc/5"
name="ExampleVdc01" />
<Link
rel="down"
type="application/vnd.vmware.vcloud.network+xml"
href="https://vcloud.example.com/api/network/14"
name="IsolatedOrgNet" />
<Link
rel="down"
type="application/vnd.vmware.vcloud.network+xml"
href="https://vcloud.example.com/api/network/54"
name="Internet" />
<Link ... />
<Link ... />
<Description>Example Corp’s Primary Organization</Description>
</Org>
Links in the response whose rel attribute has a value of down are references to objects that the organization
contains. This example shows the subset of those items that we reference in the Hello vCloud example:
n
A catalog named ExampleCatalog, at URL https://vcloud.example.com/api/catalog/32, where you can look
for vApp templates.
n
A vDC named ExampleVdc01, at URL https://vcloud.example.com/api/vdc/5, where you can deploy the
vApp.
n
Two networks: one named Internet, at URL https://vcloud.example.com/api/network/54, and one named
IsolatedOrgNet, at URL https://vcloud.example.com/api/network/14. You can connect the vApp to either
of these networks.
Retrieve the Contents of a Catalog
You can make a GET request to a catalog URL to retrieve a list of vApp templates and media images available
from the catalog.
To use a vApp template or media image listed in a catalog, retrieve the catalog to discover the set of
CatalogItem elements it contains, then make an additional request to retrieve the CatalogItem of interest.
Prerequisites
Verify that you are logged in as a system administrator or member of an organization in the cloud.
Procedure
1 Retrieve the XML representation of your organization.
Use a request like this one:
GET https://vcloud.example.com/api/org/5
Chapter 2 Hello vCloud: A Simplified RESTful Workflow
VMware, Inc. 27