5.1

Table Of Contents
Download the OVF Descriptor
To download the OVF descriptor, you make a GET request to the download:default URL in the download-
enabled VappTemplate.
Prerequisites
n
Verify that you are logged in to the vCloud API as a system administrator or member of an organization
in the cloud.
n
Verify that you have a vApp template that is enabled for download. See “Enable the vApp Template for
Download,” on page 66.
Procedure
1 Examine the VAppTemplate to find the the download:default URL for the descriptor.
2 Make a GET request to the download:default URL to retrieve the descriptor
See “Example: Downloading the OVF Descriptor,” on page 68.
Example: Downloading the OVF Descriptor
This example downloads the OVF descriptor from the URL shown in the href value of the Link shown in
“Example: vApp Template with Download URL for OVF Descriptor,” on page 67. The response includes the
entire Envelope element, only part of which appears here.
Request:
GET https://vcloud.example.com/transfer/..../descriptor.ovf
Response:
200 OK
Content-Type text/xml
...
<Envelope
xmlns="http://schemas.dmtf.org/ovf/envelope/1"
... >
...
</Envelope>
Download a Referenced File
After you download the OVF descriptor of a vApp template, you can examine the contents of the descriptor
to discover download URLs for files that the template references.
The OVF descriptor that you download from a vApp template includes the names of files that the template
references. To retrieve one of these files, you must create a download URL for it by combining its name with
a URL derived from the download URL that you used to retrieve the descriptor. You must retrieve all of the
files to create a valid OVF package.
Prerequisites
n
Verify that you are logged in to the vCloud API as a system administrator or member of an organization
in the cloud.
n
Retrieve the OVF descriptor of a vApp template that was enabled for download.
vCloud API Programming Guide
68 VMware, Inc.