jscheffl commented on issue #42701:
URL: https://github.com/apache/airflow/issues/42701#issuecomment-2460444004

   > Important to note. For triggering a dagrun, the api_connexion endpoint is 
missing a lot of the form fields that @jscheffl added to 
[views.py](https://github.com/apache/airflow/blob/main/airflow/www/views.py#L2005).
 I think if its best if we consolidate to a single public trigger dag run 
endpoint in FastAPI.
   
   I was always looking at `/api/v1/ui/#/DAG/get_dag_details` 
(airflow/api_connexion/endpoints/dag_endpoint.py:get_dag_details()` which 
contains a dict of all params definitions. I _think_ this should contain all 
needed information to generate the form views.
   
   Have not checked all default but looking at the fast API I feel like this is 
the same, have not checked for alle details of complete-ness. But this could be 
added-in there... I _think_ --> 
http://localhost:29091/docs#/DAG/get_dag_details (Try it with 
`example_params_ui_tutorial` and take a look to `params` in the response.
   
   FYI @shubhamraj-git 


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