GET /v1/workflow/{workflow_name}/workflowRun getAllRunInstances parameters

  1. Please specify the expected behaviour from the following parameters present in the api spec for get all run instances of a workflow
  • [boolean] partial
  • [string] conf
  1. What is the expected format in which the start date and end date is provided. Is it going to be Unix epoch time? In case it's going to be unix epoch time, maybe it's better to name it startTimeStamp rather than startDate and endTimeStamp rather than endDate. A minor nit, the type of endDate is mentioned as boolean in the api spec. Should be string.

  2. Currently, the response only returns the list of workflow runs and the cursor for the subsequent requests is not being returned. In such a scenario, how can one obtain the cursor for the subsequent request. Shouldn't we pass the cursor as part of the response? How do we plan to handle this scenario?

  3. What is the expected behaviour when an invalid parameter is passed (apart from limit, cursor, startDate, endDate etc.)?

cc: @kibattul

Edited by Aalekh Jain