getCodeWorkflowVersionDiff method

Future<Object?> getCodeWorkflowVersionDiff({
  1. required Object id,
  2. Map<String, Object?>? query,
  3. Object? body,
  4. Map<String, String>? headers,
})

Beta: GET /{version}/code/workflows/{Id}/versions/diff

Compare two versions. Query: fromVersion, toVersion. Answers WorkflowVersionDiffResponse.

Implementation

Future<Object?> getCodeWorkflowVersionDiff(
    {required Object id,
    Map<String, Object?>? query,
    Object? body,
    Map<String, String>? headers}) {
  return transport.send(
    route: '/{version}/code/workflows/{Id}/versions/diff',
    method: 'GET',
    query: query,
    body: body,
    headers: headers,
    pathParams: <String, Object?>{'Id': id},
  );
}