[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Create Spec
DescriptionCreates a spec when assigned user selects to launch the entitlement. Spec contains broker url, launch url and token info.
Request
URLURL
https://cloud.vmwarehorizon.com/portal/v2/users/spec
Request Body
Request Body
{
"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
string
sessionId
Optional
ID of the session to resume
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse 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
ErrorResponse
400
Bad Request
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
412
Precondition Failed
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
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: specRequestTO
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
On This Page
Portal Operations
post
post
get
get
get
post
post
get
get