msoni1369 opened a new issue, #37564:
URL: https://github.com/apache/airflow/issues/37564

   ### Description
   
   The absence of task names in the DAG details API necessitates separate calls 
for task and DAG information, hindering process efficiency.
   
   ### Use case/motivation
   
   Currently, task names are not included in the DAG details API endpoint. 
Tasks represent the execution component of a DAG. However, various API 
endpoints require task names. Therefore, to retrieve task names, one must query 
the "/dags/{dag_id}/tasks" endpoint. Additionally, to obtain basic DAG details, 
the "/dags/{dag_id}/details" endpoint is utilized. In my use case, automation 
of certain processes necessitates both DAG information and task names. 
Consequently, the need to utilize two separate API endpoints slows down the 
overall process, particularly considering the multitude of DAGs. It would be 
advantageous to consolidate this information into a single API call, 
considering that tasks are integral to a DAG's functionality.
   
   ### Related issues
   
   No relevant issue found
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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