Bowrna commented on issue #23227: URL: https://github.com/apache/airflow/issues/23227#issuecomment-1117189760
@erdos2n As mentioned in this issue https://github.com/apache/airflow/issues/23246 the above task is also very similar. Here the already existing api `/api/v1/dags/{dag_id}/clearTaskInstances` filters the dag run instances based on the date. The above issue asks for API endpoint with dag_run_id rather than date filter passed as param in `/api/v1/dags/{dag_id}/clearTaskInstances` If I am right the endpoint expected for this issue is : `/api/v1/dags/{dag_id}/dagRuns/{dag_run_id}/clearTaskInstances` with param supported : `task_id` `include_upstream` `include_downstream` `include_future` `include_past` `reset_dag_runs` cc: @yashk97 I think the code for the other issue that you are working on will work for this case too. @erdos2n except that you pass the task_id as part of the endpoint. Can anybody tell me if my understanding is correct? Is it still relevant to work on this issue or is it the same as https://github.com/apache/airflow/issues/23246 ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
