Inspecting Depot Contents
You can use the
vSphere
Automation
REST
API to inspect the contents of the already
synchronized and imported depots. You can list the available base images, add-ons, and
components, or retrieve some detailed information about a specific software update. To retrieve a list of the base images available on a
vCenter
Server
instance, use the
GET
https://
request. You receive in the response body, a list of
<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/base-imagesBaseImages.Summary
JSON objects for each available base
image. To get more information about a single base image, use the GET
https://
request. You also get information about the components present in this base
image.<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/base-images/versions/<version>
To retrieve a list of all currently available add-ons in the
vSphere Lifecycle Manager
depot, use the
GET
https://
request and submit some of the query parameters to filter the list of retrieved
add-ons. To retrieve some detailed information about an add-on, use the <vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/add-onsGET
https://
request and submit the name and version of the add-on.<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/add-ons/<name>
/versions/<version>
To retrieve a list of all components currently available in the
vSphere Lifecycle Manager
depot, you can
use the
GET
https://
request and submit some of the query parameters to filter the list of retrieved
components. To retrieve detailed information about a component, use the <vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/componentsGET
https://
request and submit the name and version of the component.<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/components/<name>
/versions/<version>