SangwanP opened a new issue #21168:
URL: https://github.com/apache/airflow/issues/21168


   ### Description
   
   _No response_
   
   ### Use case/motivation
   
   I would like to have a field added to API endpoints which reflects when a 
record, that is received in the API response, was last updated. It would be 
nice to have such a field added to as many endpoints as possible.
   For example: last_scheduling_decision field can be exposed via the DAG Run 
API endpoint. This will give the user information on when a given DAGRun record 
was last updated.
   
   I think it's common practice to expose when a record was created and/or last 
updated, through API's.
   
   Particular use case: Our team is running an ETL using the Airflow API as the 
source system. We would like to load this data incrementally, however we will 
be unable to do so without a 'last updated' timestamp field exposed through the 
API endpoints.
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] 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-unsubscr...@airflow.apache.org

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


Reply via email to