You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/13 12:26:27 UTC

[GitHub] [airflow] sw1010 opened a new issue #17606: JSON client does not provide an API for getting a list of Dag Runs

sw1010 opened a new issue #17606:
URL: https://github.com/apache/airflow/issues/17606


   **Description**
   
   The JSON client provides API for many endpoints, but some of them are still missing, e.g. `GET /api/experimental/dags/<DAG_ID>/dag_runs`.
   
   **Use case / motivation**
   
   I would like to obtain all the run ids for a given DAG id. It looks like the missing API is the way to do so.
   
   **Are you willing to submit a PR?**
   
   Sure!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] sw1010 commented on issue #17606: JSON client does not provide an API for getting a list of Dag Runs

Posted by GitBox <gi...@apache.org>.
sw1010 commented on issue #17606:
URL: https://github.com/apache/airflow/issues/17606#issuecomment-898452189


   > I don’t think we are going to accept contributions to `/api/experimental` (Deprecated API). Would it be possible for you to switch to `/api/v1` (Stable API)? If not, why?
   
   Many thanks for your reply. I see your point of view. I am working on a project that already uses the deprecated API and it would take us some time to switch to the new one. I could have made the corresponding changes inside my project and left them unpublished, but many other users may be in a similar situation and would like to reuse that functionality. Thus in my opinion it would be good to accept this pull request.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #17606: JSON client does not provide an API for getting a list of Dag Runs

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #17606:
URL: https://github.com/apache/airflow/issues/17606#issuecomment-898471060


   > Many thanks for your reply. I see your point of view. I am working on a project that already uses the deprecated API and it would take us some time to switch to the new one. I could have made the corresponding changes inside my project and left them unpublished, but many other users may be in a similar situation and would like to reuse that functionality. Thus in my opinion it would be good to accept this pull request.
   
   Not a good idea. We want to move people away from the experimental API as soon as possible (now). It will be removed in Airflow 3 completely (and irreversibly). Effectlively  - adding new functionality has the effect that people staying longer with the deprecated API, which is precisely what we want to avoid.
   
   No more changes will be accepted to the experimental API. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] uranusjr commented on issue #17606: JSON client does not provide an API for getting a list of Dag Runs

Posted by GitBox <gi...@apache.org>.
uranusjr commented on issue #17606:
URL: https://github.com/apache/airflow/issues/17606#issuecomment-898433667


   I don’t think we are going to accept contributions to `/api/experimental` (Deprecated API). Would it be possible for you to switch to `/api/v1` (Stable API)? If not, why?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk edited a comment on issue #17606: JSON client does not provide an API for getting a list of Dag Runs

Posted by GitBox <gi...@apache.org>.
potiuk edited a comment on issue #17606:
URL: https://github.com/apache/airflow/issues/17606#issuecomment-898471060


   > Many thanks for your reply. I see your point of view. I am working on a project that already uses the deprecated API and it would take us some time to switch to the new one. I could have made the corresponding changes inside my project and left them unpublished, but many other users may be in a similar situation and would like to reuse that functionality. Thus in my opinion it would be good to accept this pull request.
   
   Not a good idea. We want to move people away from the experimental API as soon as possible (now). It will be removed in Airflow 3 completely (and irreversibly). Effectlively  - adding new functionality has the effect that people stay longer with the deprecated API, which is precisely what we want to avoid.
   
   No more changes will be accepted to the experimental API. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #17606: JSON client does not provide an API for getting a list of Dag Runs

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #17606:
URL: https://github.com/apache/airflow/issues/17606


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org