Get a variable
GET/v1/variables/:variableId
Get the variable details by variable id.
Request
Path Parameters
variableId stringrequired
The ID of the variable.
Responses
- 200
- 404
On success returned.
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID of the variable
name string
The name of the variable
value string
The full value of the variable
draft object
The draft value of the variable
value string
tenantId string
The tenant ID associated with the variable
{
"id": "string",
"name": "string",
"value": "string",
"draft": {
"value": "string"
},
"tenantId": "string"
}
An error is returned when the variable with the variableId
is not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
status int32
An integer that represents the HTTP status code of the error response. For example, 400 indicates a 'Bad Request' error, 404 indicates a 'Not Found' error, and so on.
message string
A string that provides a brief description of the error that occurred.
instance string
Error instance UUID for lookup (e.g., in log messages).
{
"status": 0,
"message": "string",
"instance": "string"
}
Loading...