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 #109 background imageLoading...
Page #109 background image
VMware, Inc. 109
Chapter 6 Administrative Operations
<Description>Custom Catalog</Description>
<CatalogItems>
...
</CatalogItems>
...
</Catalog>
Publish a Catalog
PublishingacatalogmakesthecatalogvisibletoallorganizationsinavCloud.Anadministratorofan
organizationthatcanpublishcatalogs(onewhoseCanPublishCatalogselementhasavalueoftrue)can
publishacatalogbymakingaPOSTrequesttothecatalog’spublishURLandsupplyinga
PublishCatalogParamsbody
thatsetsthevalueofthecatalog’sIsPublishedelementtotrue.Example 621
publishesthecatalogcreatedinExample 619.
Example 6-21. Publish a Catalog
Request:
POST http://vcloud.example.com/api/v1.0/admin/catalog/32/action/publish
Content-Type: application/vnd.vmware.admin.publishCatalogParams+xml
...
<PublishCatalogParams xmlns="http://www.vmware.com/vcloud/v1">
<IsPublished>true</IsPublished>
</PublishCatalogParams>
Response:
204 No Content
Modify Catalog Metadata
Anadministratorcanmodifycatalogmetadatasuchasitsnameanddescriptionbycreatingamodified
CatalogbodyandPUTtingittothecatalog’seditlink.TherequestinExample 622changesthenameand
descriptionofthecatalogcreatedinExample 619.TheresponsecontainsthemodifiedCatalogbody,
includingtheCatalogItemselement,whichwasunchangedby,andnotincludedin,therequest.
Example 6-22. Modify Catalog Metadata
Request:
PUT http://vcloud.example.com/api/v1.0/admin/catalog/32
Content-Type: application/vnd.vmware.admin.catalog+xml
<Catalog name="TechOps Catalog 01" xmlns="http://www.vmware.com/vcloud/v1">
<Description>TechOps Approved Templates Catalog</Description>
</Catalog>
Response:
200 OK
Content-Type: application/vnd.vmware.admin.catalog+xml
<Catalog href="http://vcloud.example.com/api/v1.0/catalog/32" name="TechOps Catalog 01" ...>
<Description>TechOps Approved Templates Catalog</Description>
<Link rel="add" type="application/vnd.vmware.vcloud.catalogItem+xml"
href="http://vcloud.example.com/api/v1.0/catalog/32/catalogItems"/>

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