getFlowWorkflowsByWorkflowWithHttpInfo method

Future<Response> getFlowWorkflowsByWorkflowWithHttpInfo(
  1. String workflow
)

Workflow reads one of the caller's workflows — the full record, graph included.

Workflow reads one of the caller's workflows — the full record, graph included. A workflow outside the caller's org answers 404, indistinguishable from one that does not exist.

Note: This method returns the HTTP Response.

Parameters:

  • String workflow (required): Workflow is the workflow's UUID, taken from the path.

Implementation

Future<Response> getFlowWorkflowsByWorkflowWithHttpInfo(String workflow,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/flow/workflows/{workflow}'
    .replaceAll('{workflow}', workflow);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}