[ https://issues.apache.org/jira/browse/AIRFLOW-7080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071988#comment-17071988 ]
ASF subversion and git services commented on AIRFLOW-7080: ---------------------------------------------------------- Commit 933abafa8f07660208629b966bacbdaea1bf1412 in airflow's branch refs/heads/v1-10-test from Philipp Großelfinger [ https://gitbox.apache.org/repos/asf?p=airflow.git;h=933abaf ] [AIRFLOW-7080] Adds API endpoint to return a DAG's paused state (#7737) Adds an additional endpoint to the experimental API to return the paused state of a DAG. > API Endpoint to query a dag's paused status > ------------------------------------------- > > Key: AIRFLOW-7080 > URL: https://issues.apache.org/jira/browse/AIRFLOW-7080 > Project: Apache Airflow > Issue Type: New Feature > Components: api > Affects Versions: 2.0.0, 1.10.10 > Reporter: Philipp Großelfinger > Assignee: Philipp Großelfinger > Priority: Minor > Fix For: 1.10.10 > > > So far it is possible to set the paused state of a DAG via the experimental > API. It would be nice to be also able to query the current paused state of a > DAG. > The endpoint to set the paused state looks like this: > /api/experimental/dags/<dag_name>/paused/<paused> > The new endpoint could look like: > GET /api/experimental/dags/<dag_name>/paused -- This message was sent by Atlassian Jira (v8.3.4#803005)