Get a variable from the session

get/sessions/{sessionId}/variables/{variableName}
Internal-Use Only

Returns the information about the requested variable in the session. By default, the session variable resource is returned. You can get the simple value of the variable by specifying an Accept header of text/plain.

Request Samples

1

Response Samples

1{
2 "name": "SYS_COMPUTE_SESSION_ID",
3 "scope": "GLOBAL",
4 "value": "RKEY-ses0000",
5 "version": 1
6}

Path Parameters

NameTypeRequiredDescription
sessionId
string<object-id>
true

Specifies the ID of the session.

variableName
string
true

Specifies the name of the variable to retrieve.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundThe variable does not exist at the requested path.Schema