getFlowRunsWithHttpInfo method
Runs reads one workflow's recorded runs: every component build with its result, keyed by component.
Runs reads one workflow's recorded runs: every component build with its result, keyed by component. Ownership is verified first — run records never cross the org boundary.
Note: This method returns the HTTP Response.
Parameters:
- String workflow: Workflow is the UUID of the workflow whose run records to read. It rides the query string.
Implementation
Future<Response> getFlowRunsWithHttpInfo({ String? workflow, }) async {
// ignore: prefer_const_declarations
final path = r'/v1/flow/runs';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (workflow != null) {
queryParams.addAll(_queryParams('', 'workflow', workflow));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}