List Variables
get
[host-url]/dt-rest/v2/variables
Retrieves a list of variables. This method supports various query parameters to filter and customize the response:
fields: specifies the fields to include in the response (comma-separated)qualifiedName: filters variables by qualified name
The following examples demonstrate the supported query patterns:
- Retrieve all variables (no filters):
Retrieves all available variables without any qualified name filtering. All default fields for these variables will be included in the response.
/variables - Retrieve all variables with specific fields:
Retrieves all available variables without any qualified name filtering, and the response will only include the fields specified in the
fieldsparameter./variables?fields=name,variableId,... - Retrieve a variable by qualified name:
Retrieves a variable that matches the given
qualifiedName. All default fields for this variable will be included in the response./variables?qualifiedName=your_variable_name - Retrieve a variable by qualified name with specific fields:
Retrieves a variable that matches the given
qualifiedName, and the response will only include the fields specified in thefieldsparameter./variables?qualifiedName=your_variable_name&fields=name,variableId,...
Request
Query Parameters
-
fields: string
comma-separated list of fields to include in the response
-
qualifiedName: string
filters variables by qualified name
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
a response object containing the list of variables
Root Schema : schema
Type:
Show Source
array-
Array of:
object DTVariableBaseDTO
Represents a data transforms variable with only basic information.
Nested Schema : DTVariableBaseDTO
Type:
objectRepresents a data transforms variable with only basic information.
Show Source
401 Response
Unauthorized
404 Response
Not Found