[ 
https://issues.apache.org/jira/browse/AIRFLOW-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ash Berlin-Taylor resolved AIRFLOW-4015.
----------------------------------------
    Resolution: Fixed

> GET dag_runs endpoint of experimental API only in RBAC UI
> ---------------------------------------------------------
>
>                 Key: AIRFLOW-4015
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4015
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: api, Documentation
>    Affects Versions: 1.10.2
>            Reporter: Dmytro Kulyk
>            Assignee: Ash Berlin-Taylor
>            Priority: Major
>             Fix For: 1.10.3
>
>
> when i try to get dag_runs over experimental api ( dags/<DAG_ID>/dag_runs ) 
> it throws 405 response:
> http://airflow01.cluster.prod:8080/api/experimental/dags/analytics_prod/dag_runs
> {code}
> curl 
> http://airflow01.betlab.prod:8080/api/experimental/dags/analytics_prod/dag_runs
>  -vvvvv
> *   Trying 192.168.48.163...
> * TCP_NODELAY set
> * Connected to airflow01.betlab.prod (192.168.48.163) port 8080 (#0)
> > GET /api/experimental/dags/analytics_prod/dag_runs HTTP/1.1
> > Host: airflow01.betlab.prod:8080
> > User-Agent: curl/7.55.1
> > Accept: */*
> >
> < HTTP/1.1 405 METHOD NOT ALLOWED
> < Server: gunicorn/19.9.0
> < Date: Tue, 05 Mar 2019 12:33:15 GMT
> < Connection: close
> < Content-Type: text/html
> < Allow: POST, OPTIONS
> < Content-Length: 178
> <
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <title>405 Method Not Allowed</title>
> <h1>Method Not Allowed</h1>
> <p>The method is not allowed for the requested URL.</p>
> * Closing connection 0
> {code}
> Howewer, other ones works perfectly
> * GET: pools
> * GET: dags/<DAG_ID>/tasks/<TASK_ID>
> * POST: dags/<DAG_ID>/dag_runs
> * GET: test
> * GET: latest_runs 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to