getCodeWorkflowRuns method

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

Beta: GET /{version}/code/workflows/{Id}/runs

The runs of one workflow. Query: status?, from?, to? and paging. Answers WorkflowRunsResponse.

Implementation

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