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

Query

Description

Query for application definitions.

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/imagemgmt/v1/app-def/query
Copy

Query Parameters

Query Parameters

string
org_id Optional

org_id


Request Body

Request Body

ApplicationDefinitionQueryListRepresentation of mimetype application/json Required

applicationQueryListRequest

{
	"ids": [
		"string"
	]
}
array of string
ids Required

string
orgId Optional

OrgId is required for non-customer CSP token

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns array of ApplicationDefinitionResponseTO of type application/json

Successfully queried app definitions

{
	"appInventoryId": "string",
	"createdAt": "string",
	"icons": {
		"key": {
			"height": 0,
			"iconHash": "string",
			"icondata": "string",
			"path": "string",
			"width": 0
		}
	},
	"id": "string",
	"manualEntry": false,
	"name": "string",
	"orgId": "string",
	"path": "string",
	"publisher": "string",
	"registeredExtensions": {
		"extensions": [
			{
				"friendlyName": "string",
				"value": "string"
			}
		],
		"otherFileType": [
			{
				"friendlyName": "string",
				"type": "string",
				"value": "string"
			}
		]
	},
	"streamId": "string",
	"updatedAt": "string",
	"version": "string",
	"versionId": "string"
}
string
appInventoryId Optional

string as date-time
createdAt Optional

map of Icon
icons Optional

string
id Optional

boolean
manualEntry Optional

string
name Optional

string
orgId Optional

string
path Optional

string
publisher Optional

registeredExtensions Optional

string
streamId Optional

string as date-time
updatedAt Optional

string
version Optional

string
versionId Optional
Errors

Errors

400

Bad request


401

Unauthorized


403

Forbidden


500

Failed to query app definitions

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"ids":["string"],"orgId":"string"}' https://cloud.vmwarehorizon.com/imagemgmt/v1/app-def/query
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: applicationQueryListRequest


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

Was this page helpful?