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

App Sessions

Description

Get all existing sessions which was launched by the user.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/portal/v2/users/sessions
Copy

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns array of UserSessionDTO of type application/json

Returns list of user sessions.

{
	"hasRemotableAssets": false,
	"id": "abcd-edff",
	"originId": "string",
	"protocolMatch": false,
	"protocols": [
		{
			"defaultProtocol": false,
			"name": "BLAST"
		}
	],
	"sessionId": "ent-id-12345",
	"sessionType": "APPLICATION"
}
string
sessionType Required

Session type

Possible values are: APPLICATIONDESKTOP


array of Protocol
protocols Required

List of supported protocols


string
id Optional

ID


string
originId Optional

Identifier for the environment in which the session is running


boolean
protocolMatch Optional

Boolean, true if there is one or more protocols available that this client can use


string
sessionId Optional

session ID


boolean
hasRemotableAssets Optional

Whether this remote session has assets that can be remotable. This helps the client decide whether to automatically reconnect to the session.

Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found


500

Unexpected internal server error

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/portal/v2/users/sessions


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

Was this page helpful?