You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Douglas Mendez (Jira)" <ji...@apache.org> on 2019/11/06 20:30:00 UTC
[jira] [Updated] (AIRFLOW-5860) Add the field `dagrun_id` to the
response of experimental API on trigger.
[ https://issues.apache.org/jira/browse/AIRFLOW-5860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Douglas Mendez updated AIRFLOW-5860:
------------------------------------
Description:
We are using experimental REST API for automating Airflow, triggering Dags from one of our microservices.
If the API could return the `dagrun_id` it would be great for us, we could save it in our DB with data related, with this we could find the log for specific DAgRun quickly.
*Response example*
{code:java}
// code placeholder
{
'execution_date': execution_date,
'message': message,
'dagrun_id': 'dagrun_id
}
{code}
was:
We are using experimental REST API for automating Airflow, triggering Dags from one of our microservices.
If the API could return the `dagrun_id` it would be great for us, we could save it in our DB with data related, with this we could find the log for specific DAgRun quickly.
*Response example*
{ 'execution_date': execution_date, 'message': {color:#009100}message,
{color} 'dagrun_id': 'dagrun_id
}
> Add the field `dagrun_id` to the response of experimental API on trigger.
> -------------------------------------------------------------------------
>
> Key: AIRFLOW-5860
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5860
> Project: Apache Airflow
> Issue Type: Improvement
> Components: api, cli
> Affects Versions: 1.10.6
> Reporter: Douglas Mendez
> Priority: Major
>
> We are using experimental REST API for automating Airflow, triggering Dags from one of our microservices.
> If the API could return the `dagrun_id` it would be great for us, we could save it in our DB with data related, with this we could find the log for specific DAgRun quickly.
>
> *Response example*
>
> {code:java}
> // code placeholder
> {
> 'execution_date': execution_date,
> 'message': message,
> 'dagrun_id': 'dagrun_id
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)