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

Get Streams

Description

Get All Images based on request param and Searchable field.
Images can be searched based on name, os, multiSession, osType, sourceType, gpuType, sourceStreamId, sourceVersionId, status fields.
NOTE: If fields (os,os_type) are present in both request params and search criteria, request param would take precedence.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/imagemgmt/v1/images
Copy

Query Parameters

Query Parameters

string
org_id Optional

org_id


string
os Optional

os


string
os_type Optional

os_type


string
page Optional

Page number to retrieve.


string
search Optional

Search Criteria. Please see model definition for list of searchable fields.

search example
"providerInstanceId $eq provider-instance-id-1"

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 PageStreamTO of type application/json

Successfully retrieved images

{
	"content": [
		{
			"createdAt": "string",
			"description": "string",
			"gpuType": "AMD",
			"id": "0123456789",
			"markers": [
				{
					"createdAt": "string",
					"errorCode": "UPDATES_FAILED",
					"errorDetails": "string",
					"errorDetailsParameters": {
						"key": "string"
					},
					"id": "0123456789",
					"imageId": "0123456789",
					"name": "HRLite,HRPro",
					"nextVersionId": "0123456789",
					"orgId": "0123456789",
					"status": "IN_PROGRESS",
					"templateCount": 0,
					"updatedAt": "string",
					"versionId": "0123456789"
				}
			],
			"multiSession": false,
			"name": "string",
			"orgId": "0123456789",
			"os": "string",
			"osType": "CLIENT",
			"sourceStreamId": "string",
			"sourceType": "AKKA_CUSTOM_VM",
			"sourceVersionId": "string",
			"status": "PENDING, AVAILABLE, IMPORT_COMPLETE and so on",
			"updatedAt": "string",
			"version": 0,
			"versionCount": 100
		}
	],
	"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
}
array of StreamTO
content Optional

Searchable fields are “name”, “os”, “multiSession”, “osType”, “sourceType”, “gpuType”, “sourceStreamId”, “sourceVersionId”, “status”


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

ErrorResponse
400

Bad request - unsupported provider type


ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Streams are not found for the requested org

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/imagemgmt/v1/images


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

Was this page helpful?