[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Get App Inventory By Image And Version

Description

Get application inventory by image id and version id.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/imagemgmt/v1/appinventory/images/{imageId}/versions/{versionId}
Copy

Path Parameters

Path Parameters

string
imageId Required

imageId


string
versionId Required

versionId


Query Parameters

Query Parameters

string
org_id Optional

org_id


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns AppInventoryRepresentation of type application/json

Successfully retrieved Application Inventory Resource

{
	"createdAt": "string",
	"details": {},
	"errorCode": "ADMIN_TEMPLATE_CREATION_CALL_FAILED",
	"errorDetail": "string",
	"id": "string",
	"orgId": "string",
	"receivedIconSets": 0,
	"status": "AVAILABLE",
	"streamId": "string",
	"templateId": "string",
	"totalIconSets": 0,
	"updatedAt": "string",
	"versionId": "string"
}
string as date-time
createdAt Optional


string
errorCode Optional

Possible values are: ADMIN_TEMPLATE_CREATION_CALL_FAILEDADMIN_TEMPLATE_DELETION_CALL_FAILEDAPP_INVENTORY_ALREADY_EXISTSAPP_INVENTORY_CREATION_FAILEDAPP_INVENTORY_EDGE_DEPLOYMENT_NOT_FOUNDAPP_INVENTORY_INVALID_STATUSAPP_INVENTORY_IN_PROGRESSAPP_INVENTORY_MISSING_FIELDSAPP_INVENTORY_NETWORK_DETAILS_NOT_FOUNDAPP_INVENTORY_NOT_FOUNDAPP_INVENTORY_NOT_FOUND_FOR_TEMPLATEAPP_INVENTORY_SCAN_IN_PROGRESSAPP_INVENTORY_TIME_OUTAPP_INVENTORY_TIME_OUT_FOR_ICONSFORBIDDENINV_FAILED_TO_FETCH_VMINV_FETCH_VM_CALL_FAILEDINV_NO_VM_EXISTSNO_PUBLISHED_ASSET_FOUND_FOR_VERSIONTEMPLATE_ERROR_EVENTTEMPLATE_ID_NOT_FOUNDTEMPLATE_PROVIDER_LABEL_NOT_FOUNDUNSUPPORTED_PROVIDERVALIDATION_FAILED


string
errorDetail Optional

string
id Optional

string
orgId Optional

integer as int64
receivedIconSets Optional

string
status Optional

Possible values are: AVAILABLEFAILEDFAILED_PUBLISH_FAILUREGET_APPLICATIONS_IN_PROGRESSGET_APPLICATIONS_TIMED_OUTGET_ICONS_IN_PROGRESSGET_ICONS_SCHEDULEDGET_ICONS_TIMED_OUTIN_PROGRESSTEMPLATE_CREATION_IN_PROGRESSTEMPLATE_CREATION_TIMED_OUTWAITING_FOR_PUBLISH


string
streamId Optional

string
templateId Optional

integer as int64
totalIconSets Optional

string as date-time
updatedAt Optional

string
versionId Optional
Errors

Errors

400

Bad Request - Unsupported Provider Type


401

Not Authenticated


403

Unauthorized/Forbidden


404

Resource Does Not Exist or Application scan is not requested

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/imagemgmt/v1/appinventory/images/{imageId}/versions/{versionId}


Feedback

Was this page helpful?