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://
<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/base-images
request. You receive in the response body, a list of
BaseImages.Summary
JSON objects for each available base image. To get more information about a single base image, use the
GET https://
<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/base-images/versions/
<version>
request. You also get information about the components present in this base image.
To retrieve a list of all currently available add-ons in the
vSphere Lifecycle Manager
depot,
use the
GET https://
<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/add-ons
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
GET https://
<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/add-ons/
<name>
/versions/
<version>
request and submit the name and version of the add-on.
To retrieve a list of all components currently available in the
vSphere Lifecycle Manager
depot, you can
use the
GET https://
<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/components
request and submit some of the query parameters to filter the list of retrieved components. To retrieve detailed information about a component, use the
GET https://
<vcenter_ip_address_or_fqdn>
/api/esx/settings/depot-content/components/
<name>
/versions/
<version>
request and submit the name and version of the component.