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

List App By ID For Pools

Description

Post all application for selected pools and selected app id

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/portal/v2/pools/apps
Copy

Query Parameters

Query Parameters

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

Request Body

Request Body

AppRequest of mimetype application/json Required

poolAndAppByIdRequest

{
    "orgId": "1d2d6889-506a-424d-a162-12345565882b",
    "poolAppMappings": [
        {
            "appId": "1234dddf567ef01722b7bcc5",
            "poolId": "1234dddf125ef01722b7bcc5"
        }
    ]
}
string
orgId Optional

organization id for authorization


array of PoolAppMapping
poolAppMappings Optional

Pool and app id pairs to be searched for

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PageApplicationItemResultTO of type */*
{
	"content": [
		{
			"appDisplayName": "Google Chrome",
			"appName": "Chrome",
			"appVersion": "1.0.0",
			"applications": [
				{
					"displayName": "Google Chrome",
					"icons": {
						"key": {
							"height": 0,
							"iconHash": "string",
							"icondata": "string",
							"path": "string",
							"width": 0
						}
					},
					"id": "string",
					"name": "Chrome",
					"orgId": "0123456789",
					"os": "Windows",
					"path": "c:\\app\\chrome.exe",
					"publisher": "VMware Inc",
					"registeredExtensions": {
						"extensions": [
							{
								"friendlyName": "string",
								"value": "string"
							}
						],
						"otherFileType": [
							{
								"friendlyName": "string",
								"type": "string",
								"value": "string"
							}
						]
					},
					"streamId": "string",
					"templateIds": [
						"string"
					],
					"version": "1.0.0",
					"versionId": "string"
				}
			],
			"poolId": "pool-id-12345",
			"poolName": "pg-123"
		}
	],
	"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


401

Unauthorized


403

Forbidden


404

Not found

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"orgId":"1d2d6889-506a-424d-a162-12345565882b","poolAppMappings":[{"appId":"1234dddf567ef01722b7bcc5","poolId":"1234dddf125ef01722b7bcc5"}]}' https://cloud.vmwarehorizon.com/portal/v2/pools/apps
Vendor Extensions

Vendor Extensions

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


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

Was this page helpful?