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/03/15 14:47:40 UTC

[GitHub] [airflow] ryanahamilton opened a new issue #14803: Add API Query Sort and Order Params

ryanahamilton opened a new issue #14803:
URL: https://github.com/apache/airflow/issues/14803


   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] bbovenzi commented on issue #14803: Add API Query Sort and Order Params

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


   A lot of our data will be displayed in some sort of list or table view. A necessary part of that will be the ability to sort and order the lists by various fields.
   
   ToDo: List out all the endpoints that will need these params here.


----------------------------------------------------------------
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.

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



[GitHub] [airflow] PavelProkhorov edited a comment on issue #14803: Add API Query Sort and Order Params

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


   Could you please add sort and order for start_date or execution_date in https://airflow.apache.org/api/v1/dags/{dag_id}/dagRuns? 
   I need it for receive latest dag runs. 
   
   Or you can change default sort order.
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] PavelProkhorov edited a comment on issue #14803: Add API Query Sort and Order Params

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


   Could you please add sort and order for start_date or execution_date in https://airflow.apache.org/api/v1/dags/{dag_id}/dagRuns? 
   I need it for receive latest dag runs. 
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] bbovenzi edited a comment on issue #14803: Add API Query Sort and Order Params

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


   A lot of our data will be displayed in some sort of list or table view. A necessary part of that will be the ability to sort and order the lists by any field.
   
   Particularly, data with datetimes should have this and default to return the latest results instead of the earliest:
   GET `/dags/{dag_id}/dagRuns`
   GET `/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances`
   GET `​/dags​/{dag_id}​/tasks`
   GET `/eventLogs`
   GET `/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/xcomEntries`
   GET `/importErrors`
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] PavelProkhorov commented on issue #14803: Add API Query Sort and Order Params

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


   Could you please add sort and order for start_date or execution_date in https://airflow.apache.org/api/v1/dags/{dag_id}/dagRuns? 
   I need it for receive latest runs for dag. 
   


----------------------------------------------------------------
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.

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