-2

As I'm new to Apache Airflow, Can someone please tell how to trigger, update an airflow dag using api call. Thanks in advance

Sarvath S
  • 197
  • 3
  • 9

2 Answers2

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

https://www.youtube.com/watch?v=WTR-YT5imrY

Code run
  • 165
  • 9