EasyManua.ls Logo

VMware VCLOUD API 1.0 - API - 3 Browsing; Summary of Browsing Requests

VMware VCLOUD API 1.0 - API
212 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VMware, Inc. 33
3
AvCloudAPIclientcanuseHTTPGETrequeststobrowsecontainerssuchasorganizations,catalogs,and
vDCs.Responsestotheserequestsincludemetadataaboutthecontaineritselfandreferencestotheobjectsit
contains.ThesereferencesareprovidedinLinkelements,whichhavehrefattributeswhosevaluestheclient
can
useinrequeststogetmoreinformationabouttheobjectsthemselves.Thishierarchicalstructureof
containerslendsitselftographicalrepresentationasafolderhierarchyortreeviewofvCloudobjects,and
enablesclientstousethesamesetofobjectsandoperationstoimplementabreadth‐firstordepth‐
first
approachtobrowsing.
Thischapterincludesthefollowingtopics:
“SummaryofBrowsingRequests”onpage 33
“DiscoveringtheContentsofanOrganization,Catalog,orvDC”onpage 34
“GettingMoreInformationAboutanObject”onpage 38
Summary of Browsing Requests
Table 3‐1summarizesbrowsingrequestssupportedinthisrelease.Thetableusesthefollowingconventions:
API‐URLisaURLoftheformhttp://vcloud.example.com/api/v1.0
idisaninteger
Browsing
3
Table 3-1. Summary of Browsing Requests
Operation Request Request Body Response
ShowLoginURLandListSupported
APIVersions
GEThttp://hostname/api/versions None SupportedVersions
Login POSTAPI‐URL/login None OrgList
Logout POSTAPI‐URL/logout None 200OK
ListtheOrganizationsinavCloud GETAPI‐URL/org None OrgList
ListtheContentsofanOrganization GETAPI‐URL/org/id None Org
GetInformationAboutaNetwork GETAPI‐URL/network/id None OrgNetwork
Listthe
ContentsofaCatalog GETAPI‐URL/catalog/id None Catalog
GetInformationAboutaCatalogItem GETAPI‐URL/catalogItem/id None CatalogItem
ListtheContentsofavDC GETAPI‐URL/vdc/id None Vdc
GetInformationAboutaMediaImage GETAPI‐URL/media/id None Media
GetInformationAbouta
vAppTemplate
GETAPI‐URL/vAppTemplate/vappTemplate‐id None VAppTemplate
GetInformationAbouta
vAppor
VirtualMachine
GETAPI‐URL/vApp/vapp‐id None VApp

Table of Contents