You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/16 20:49:16 UTC

[GitHub] [airflow] dylanbstorey opened a new issue #22325: ReST API : get_dag should return more than a simplified view of the dag

dylanbstorey opened a new issue #22325:
URL: https://github.com/apache/airflow/issues/22325


   ### Description
   
   The current response payload from  https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/get_dag is a useful but simple view of the state of a given DAG. However it is missing some additional attributes that I feel would be useful for indiduals/groups who are choosing to interact with Airflow primarily through the ReST interface. 
   
   
   
   ### Use case/motivation
   
   As part of a testing workflow we upload DAGs to a running airflow instance and want to trigger an execution of the DAG after we know that the scheduler has updated it. We're currently automating this process through the ReST API, but the `last_updated` is not exposed. 
   
   
   This should be implemented from the dag_source endpoint. 
   
    https://github.com/apache/airflow/blob/main/airflow/api_connexion/endpoints/dag_source_endpoint.py
   
   ### Related issues
   
   _No response_
   
   ### 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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #22325: ReST API : get_dag should return more than a simplified view of the dag

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #22325:
URL: https://github.com/apache/airflow/issues/22325#issuecomment-1070305496


   Good idea! I wonder if it should be on get dag or get dag details.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ephraimbuddy closed issue #22325: ReST API : get_dag should return more than a simplified view of the dag

Posted by GitBox <gi...@apache.org>.
ephraimbuddy closed issue #22325:
URL: https://github.com/apache/airflow/issues/22325


   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] bbovenzi commented on issue #22325: ReST API : get_dag should return more than a simplified view of the dag

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on issue #22325:
URL: https://github.com/apache/airflow/issues/22325#issuecomment-1070304848


   Good idea! I wonder if it should be on get dag or get dag details.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #22325: ReST API : get_dag should return more than a simplified view of the dag

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #22325:
URL: https://github.com/apache/airflow/issues/22325#issuecomment-1069618240


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org