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

Fetch Apps By Image And Version

Description

Get all applications by image id and version id.

Request

Request

URL

URL


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

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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
}
content Optional

boolean
empty Optional

boolean
first Optional

boolean
last Optional

integer as int32
number Optional

integer as int32
numberOfElements Optional

pageable Optional

integer as int32
size Optional

sort Optional

integer as int64
totalElements Optional

integer as int32
totalPages Optional
Errors

Errors

400

Bad Request - Unsupported Provider Type


401

Not Authenticated


403

Unauthorized/Forbidden


404

Application scan is not requested or not successfully completed

Code Samples

Code Samples

cURL Command

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


Feedback

Was this page helpful?