vatsrahul1001 commented on issue #44867:
URL: https://github.com/apache/airflow/issues/44867#issuecomment-2548587582

   @eladkal We do have taskinstance clear endpoint implementation already 
[here](https://github.com/apache/airflow/blob/main/airflow/api_connexion/endpoints/task_instance_endpoint.py#L447).
 As per openapi spec its under DAG endpoint 
[here](http://localhost:28080/redoc#tag/DAG/operation/post_clear_task_instances).
   
   
   <img width="1506" alt="image" 
src="https://github.com/user-attachments/assets/d560d407-a0db-479b-8d7b-25bed48943a8";
 />
   
   In FastAPI we have correctly added this under taskinstances.
   <img width="1475" alt="image" 
src="https://github.com/user-attachments/assets/9dc2d9ca-2686-4153-aa86-0d6f04417786";
 />
   
   Do let me know if this is what you wanted in implementation, if yes should I 
move this endpoint from DAG to TaskInstance in legacy API?
   


-- 
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]

Reply via email to