getFlowWorkflowsWithHttpInfo method
Workflows lists the caller's workflows, paged.
Workflows lists the caller's workflows, paged. The list is scoped server-side to the org's project — the page can only ever hold the caller's own workflows.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getFlowWorkflowsWithHttpInfo({ String? page, String? size, }) async {
// ignore: prefer_const_declarations
final path = r'/v1/flow/workflows';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (page != null) {
queryParams.addAll(_queryParams('', 'page', page));
}
if (size != null) {
queryParams.addAll(_queryParams('', 'size', size));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}