[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Fetch Apps By Image And Version
DescriptionGet all applications by image id and version id.
Request
URLURL
https://cloud.vmwarehorizon.com/imagemgmt/v1/appinventory/images/{imageId}/versions/{versionId}/apps
Path Parameters
Path Parameters
string
imageId
Required
imageId
string
versionId
Required
versionId
Query Parameters
Query Parameters
integer
max_icon_height
Optional
max_icon_height
integer
max_icon_width
Optional
max_icon_width
string
org_id
Optional
org_id
string
page
Optional
Page number to retrieve.
string
size
Optional
Size of each page.
array of
string
sort
Optional
Ascending/Descending. Format is property,{asc|desc} and default is ascending.
Parameter Serialization Style:
form Explode:true
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
PageAppRepresentation
of type application/json
Successfully retrieved list of applications
{
"content": [
{
"icons": {
"key": {
"height": 0,
"iconHash": "string",
"icondata": "string",
"path": "string",
"width": 0
}
},
"id": "string",
"name": "string",
"path": "string",
"publisher": "string",
"version": "string"
}
],
"empty": false,
"first": false,
"last": false,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": false,
"sort": {
"empty": false,
"sorted": false,
"unsorted": false
},
"unpaged": false
},
"size": 0,
"sort": {
"empty": false,
"sorted": false,
"unsorted": false
},
"totalElements": 0,
"totalPages": 0
}
boolean
empty
Optional
boolean
first
Optional
boolean
last
Optional
integer as int32
number
Optional
integer as int32
numberOfElements
Optional
integer as int32
size
Optional
integer as int64
totalElements
Optional
integer as int32
totalPages
Optional
Errors
ErrorResponse
400
Bad Request - Unsupported Provider Type
ErrorResponse
401
Not Authenticated
ErrorResponse
403
Unauthorized/Forbidden
ErrorResponse
404
Application scan is not requested or not successfully completed
Code Samples
cURL Command
curl https://cloud.vmwarehorizon.com/imagemgmt/v1/appinventory/images/{imageId}/versions/{versionId}/apps
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen