Skip to content

AIP-84 List DAGs endpoint new features (1/2) #42159

@bbovenzi

Description

@bbovenzi

Description

Related to: #42370

Create a list DAGs endpoint in fastAPI. Make sure that is feature-complete with the dags list homepage in the legacy UI.

Features:

  • include last dag run
  • sort by dag_display_name ✅ , next run datetime ✅ , last run datetime ✅, last run state ✅,
  • filter by tags ✅, owners ✅, last run state ✅ , is paused ✅
  • search by dag_display_name ✅ ,

Use case/motivation

Our current REST API dags list endpoint is not sufficient. It doesn't include any run history and sorting only works for a few fields
The legacy UI uses a custom FAB view which also needs to be replaced.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

AIP-84Modern Rest APIarea:APIAirflow's REST/HTTP APIkind:featureFeature Requests

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions