EasyManuals Logo

VMware VCLOUD API 1.0 - API User Manual

VMware VCLOUD API 1.0 - API
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #36 background imageLoading...
Page #36 background image
vCloud API Programming Guide
36 VMware, Inc.
Thisresponsebodyincludes:
ALinkelementthatreferencestheorganizationthatcontainsthiscatalog:
<Link rel="up" type="application/vnd.vmware.vcloud.org+xml"
href="http://vcloud.example.com/api/v1.0/org/5"/>
ALinkelementthatyoucanusetoaddanitemtothecatalog:
<Link rel="add" type="application/vnd.vmware.vcloud.catalogItem+xml"
href="http://vcloud.example.com/api/v1.0/catalog/32/catalogItems"/>
SeveralCatalogItemelements.EachoftheseelementsincludesanhrefattributewhosevalueisaURL
thatyoucanGETtoobtainmoreinformationabouttheitem,asshowninExample 33.
AnIsPublishedelementwhosevalueindicateswhetherthiscatalogisvisibletootherorganizations.
Formoreinformationaboutcreatingcatalogsandmanagingtheircontents,see“CatalogingvAppTemplates
andMediaImages”onpage 54and“CatalogAdministration”onpage 107.Formoreinformationaboutthe
Catalogelementschema,see“Catalog”onpage 160.
Get Information About a CatalogItem
ACatalogItemelementcanreferenceavApptemplateoramediaobject.Requeststogetmoreinformation
aboutaCatalogItemreturnaCatalogItemdocumentthatincludes:
TheURLofthereferencedobject
LinkelementsthatenableanauthorizedusertomodifyorremovetheCatalogItem
AnEntityelementthatincludesthehref,type,andnameoftheobjectthattheCatalogItemreferences.
AnEntitycanappearinatmostoneCatalog.
OptionalPropertyelements,eachofwhichisakey=valuepair.AnorganizationcanuseProperty
elementstoimplementakeybasedlookupschemeforcatalogitems.
Example 3-3. Get Information About a CatalogItem
Request:
GET http://vcloud.example.com/api/v1.0/catalogItem/221
Response:
200 OK
Content-Type: application/vnd.vmware.vcloud.catalogItem+xml
...
<CatalogItem name="Ubuntu Template with vsftpd"
href="http://vcloud.example.com/api/v1.0/catalogItem/221" ...>
<Link rel="edit" type="application/vnd.vmware.vcloud.catalogItem+xml"
href="http://vcloud.example.com/api/v1.0/catalogItem/221"/>
<Link rel="remove" href="http://vcloud.example.com/api/v1.0/catalogItem/221"/>
<Description>Ubuntu Template with vsftpd</Description>
<Entity href="http://vcloud.example.com/api/v1.0/vAppTemplate/vappTemplate-111"
type="application/vnd.vmware.vcloud.vAppTemplate+xml" name="Ubuntu Template
with vsftpd"/>
<Property key="Company">Example</Property>
</CatalogItem>

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VMware VCLOUD API 1.0 - API and is the answer not in the manual?

VMware VCLOUD API 1.0 - API Specifications

General IconGeneral
BrandVMware
ModelVCLOUD API 1.0 - API
CategorySoftware
LanguageEnglish

Related product manuals