As I'm new to Apache Airflow, Can someone please tell how to trigger, update an airflow dag using api call. Thanks in advance
Asked
Active
Viewed 21 times
-2
-
There are plenty of airflow docs on how to do this, including API documentation. – Tevett Goad Aug 25 '23 at 17:06
-
What you want to update in Airflow dag? – Code run Aug 26 '23 at 13:44
2 Answers
0
Airflow offers a REST API. You can trigger a dag run using the /dags/{dag_id}/dagRuns
endpoint.
I'm not sure what you mean by "update an airflow dag using api call". Airflow updates DAGs according to the source files in the DAGS_FOLDER
.

RNHTTR
- 2,235
- 2
- 15
- 30
0
Airflow has rest API endpoints, which can be used in your node js app
https://airflow.apache.org/docs/apache-airflow/1.10.10/rest-api-ref.html
Here is the video tutorial as well

Code run
- 165
- 9