List Variables
[host-url]/dt-rest/v2/projects/{projectId}/variables
fields: specifies the fields to include in the response (comma-separated)qualifiedName: filters variables by qualified name (projectName.variableName)
The following examples demonstrate the supported query patterns:
- Retrieve all variables for a project:
Retrieves all variables for the project with the given
projectId. All default fields for these variables will be included in the response./projects/{projectId}/variables - Retrieve all variables for a project with specific fields:
Retrieves all variables for the project with the given
projectId, and the response will only include the fields specified in thefieldsparameter./projects/{projectId}/variables?fields=name,variableId,... - Retrieve variable for a project by qualified name:
Retrieves variable for the project with the given
projectIdthat match the specifiedqualifiedName. All default fields for these schedules will be included in the response./projects/{projectId}/variables?qualifiedName=projectName.variableName - Retrieve variable for a project by qualified name with specific fields:
Retrieves variable for the project with the given
projectIdthat match the specifiedqualifiedName, and the response will only include the fields specified in thefieldsparameter./projects/{projectId}/variables?qualifiedName=projectName.variableName&fields=name,variableId,...
Request
-
projectId(required): string
ID of the project for which to retrieve variables
-
fields: string
comma-separated list of fields to include in the response
-
qualifiedName: string
??? filters variables by projectName.variableName
There's no request body for this operation.
Back to TopResponse
- application/json
200 Response
array-
Array of:
object DTVariableBaseDTO
Represents a data transforms variable with only basic information.
object