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

Create Spec

Description

Creates a spec when assigned user selects to launch the entitlement. Spec contains broker url, launch url and token info.

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/portal/v2/users/spec
Copy

Request Body

Request Body

DesktopSpecRequestTO of mimetype application/json Required

specRequestTO

{
    "clientId": "clientid",
    "launchId": "p:12345",
    "sessionId": "abcd"
}
string
clientId Optional

Client ID


string
launchId Optional

Launch ID


boolean
nativeClient Optional

Launch client - HTML or native client


protocol Optional

string
sessionId Optional

ID of the session to resume

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns DesktopSpecJwt of type application/json
{
    "brokerUrl": "https://broker.vwmare.com",
    "id": "ent-and-123",
    "launchURL": "https://broker.vwmare.com/launch?dspec=jwt",
    "specJwt": "jwt"
}
string
brokerUrl Optional

Broker/Connection Service URL


string
dspecId Optional

string
id Optional

LaunchId i.e. EntitlementId or sessionId which this DSpec represents


string
launchURL Optional

Desktop launch URL


string
specJwt Optional

Desktop spec JWT

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


412

Precondition Failed

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"clientId":"clientid","launchId":"p:12345","sessionId":"abcd"}' https://cloud.vmwarehorizon.com/portal/v2/users/spec
Vendor Extensions

Vendor Extensions

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


Feedback

Was this page helpful?