List Projects
get
[host-url]/dt-rest/v2/projects
Retrieves a list with all projects. This method supports various query parameters to filter and customize the response:
name: filters projects by namefields: specifies the fields to include in the response (comma-separated)
The following examples demonstrate the supported query patterns:
- Retrieve all projects (no filters):
Retrieves all available projects without any name filtering. All default fields for these projects will be included in the response.
/projects - Retrieve all projects with specific fields:
Retrieves all available projects without any name filtering, and the response will only include the fields specified in the
fieldsparameter./projects?fields=name,projectId,... - Retrieve a project by name:
Retrieves a project that matches the given
name. All default fields for this project will be included in the response./projects?name=your_project_name - Retrieve a project by name with specific fields:
Retrieves a project that matches the given
name, and the response will only include the fields specified in thefieldsparameter./projects?name=your_project_name&fields=name,projectId,...
Request
Query Parameters
-
fields: string
comma-separated list of fields to include in the response
-
name: string
filters projects by 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 projects
Root Schema : schema
Type:
Show Source
array-
Array of:
object DTProjectDTO
JSON representing a project.
401 Response
Unauthorized
404 Response
Not Found