Get all of the latest desired inventory for an environment.

This command returns a JSON array of all of the desired inventory for an environment. It optionally groups the desired inventory by component.

Request

GET https://{hostname}:{port}
    /cli/environment/{environmentId}/latestDesiredInventory/{groupVersions}
Accept: {contentType}
Table 1. URL parameters
Parameter Type Required Description
environmentId string true Name or ID of the environment
groupVersions boolean true True if the versions should be grouped by component.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: getAllLatestDesiredInventory.