Get Workspaces ​
Endpoint ​
http
GET /unified/ci-cd/workspaces/{id}Integrations supported
- Bitbucket
- Buddy
Path parameters ​
id
string
REQUIRED ·Â
The ID of the resource.
Example:
23423523Query parameters ​
Refer Specifying query parameters in Truto APIs
integrated_account_id
string · uuid
REQUIRED ·Â
The ID of the integrated account to use for the request.
Example:
62f44730-dd91-461e-bd6a-aedd9e0ad79dtruto_response_format
string
The format of the response.
unifiedreturns the response with unified mappings applied.rawreturns the unprocessed, raw response from the remote API.normalizedapplies the unified mappings and returns the data in a normalized format.streamreturns the response as a stream, which is ideal for transmitting large datasets, files, or binary data. Using streaming mode helps to efficiently handle large payloads or real-time data flows without requiring the entire data to be buffered in memory.
Defaults to unified.
All possible enum values:
unifiedrawnormalizedstream
Example:
unifiedtruto_ignore_remote_data
boolean
Excludes the remote_data attribute from the response.
truto_exclude_fields
array
Array of fields to exclude from the response.
Example:
truto_exclude_fields[]=id&truto_exclude_fields[]=nameremote_query
object
Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
Example:
remote_query[foo]=barResponse Body ​
id
string
The ID of the workspace
Supported in
- Bitbucket
- Buddy
name
string
The name of the workspace
Supported in
- Bitbucket
- Buddy
created_at
string · date-time
The date and time the workspace was created
updated_at
string · date-time
The date and time the workspace was last updated
remote_data
object
Raw data returned from the remote API call.