You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ravi Agarwal (JIRA)" <ji...@apache.org> on 2019/04/17 08:22:00 UTC

[jira] [Commented] (AIRFLOW-1502) Implement possibility to search dag runs via experimental api

    [ https://issues.apache.org/jira/browse/AIRFLOW-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16819845#comment-16819845 ] 

Ravi Agarwal commented on AIRFLOW-1502:
---------------------------------------

[~skudriashev], Please take a look at https://issues.apache.org/jira/browse/AIRFLOW-4315.

> Implement possibility to search dag runs via experimental api
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-1502
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1502
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: api
>    Affects Versions: 1.8.0
>            Reporter: Stanislav Kudriashev
>            Assignee: Stanislav Kudriashev
>            Priority: Major
>             Fix For: 1.8.1
>
>
> Implement possibility to search dag runs via experimental api.
> *Format:*
> {code}
> http://localhost:8080/api/experimental/dag_runs/search/<query>
> {code}
> *Example:*
> {code}
> http://localhost:8080/api/experimental/dag_runs/search/scheduled
> {code}
> *Response:*
> {code}
> {
>   "items": [
>     {
>       "dag_id": "trigger_1", 
>       "dag_run_url": "/admin/airflow/graph?execution_date=2017-08-10+09%3A03%3A00&dag_id=trigger_1", 
>       "execution_date": "2017-08-10 09:03", 
>       "run_id": "scheduled__2017-08-10T09:03:00", 
>       "start_date": "2017-08-10 12:02", 
>       "state": "running"
>     }, 
>     {
>       "dag_id": "trigger_1", 
>       "dag_run_url": "/admin/airflow/graph?execution_date=2017-08-10+09%3A04%3A00&dag_id=trigger_1", 
>       "execution_date": "2017-08-10 09:04", 
>       "run_id": "scheduled__2017-08-10T09:04:00", 
>       "start_date": "2017-08-10 12:02", 
>       "state": "running"
>     }
>   ]
> }
> {code}



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