Get variable
GET/variables/:variableKey
Get the variable by the variable key.
Request
Path Parameters
The variable key.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The variable is successfully returned.
- application/json
- application/vnd.camunda.api.keys.number+json
- application/vnd.camunda.api.keys.string+json
- Schema
- Example (from schema)
Schema
Name of this variable.
Value of this variable.
Full value of this variable.
Tenant ID of this variable.
Whether the value is truncated or not.
The key for this variable.
The key of the scope of this variable.
The key of the process instance of this variable.
{
"variableKey": "string",
"scopeKey": "string",
"processInstanceKey": "string",
"name": "string",
"value": "string",
"fullValue": "string",
"tenantId": "string",
"isTruncated": true
}
- Schema
- Example (from schema)
Schema
Name of this variable.
Value of this variable.
Full value of this variable.
Tenant ID of this variable.
Whether the value is truncated or not.
The key for this variable.
The key of the scope of this variable.
The key of the process instance of this variable.
{
"variableKey": 0,
"scopeKey": 0,
"processInstanceKey": 0,
"name": "string",
"value": "string",
"fullValue": "string",
"tenantId": "string",
"isTruncated": true
}
- Schema
- Example (from schema)
Schema
Name of this variable.
Value of this variable.
Full value of this variable.
Tenant ID of this variable.
Whether the value is truncated or not.
The key for this variable.
The key of the scope of this variable.
The key of the process instance of this variable.
{
"variableKey": "string",
"scopeKey": "string",
"processInstanceKey": "string",
"name": "string",
"value": "string",
"fullValue": "string",
"tenantId": "string",
"isTruncated": true
}
Bad request
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The request lacks valid authentication credentials.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Forbidden. The request is not allowed.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Not found
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}