Skip to content

AIP-65 | Add List Dag Versions to Rest API #45992

Description

@bbovenzi

Add a new GET /{dag_id}/versions endpoint to the public rest api to return a paginated list of dag versions with fields like:

{
  version_name,
  created_at,
  bundle_version,
  bundle_link
}

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. added
    area:API
    kind:feature
    on Jan 23, 2025
  2. Prab-27 commented on Jan 24, 2025

    @Prab-27
    Contributor

    @bbovenzi, I'd like to work on this issue.

  3. phanikumv commented on Jan 30, 2025

    @phanikumv
    Contributor

    Assigned to you @Prab-27

  4. pierrejeambrun commented on Feb 6, 2025

    @pierrejeambrun
    Member

    Hello @Prab-27,

    Any progress on this issue ? Do you need help getting started ?

  5. Prab-27 commented on Feb 6, 2025

    @Prab-27
    Contributor

    @pierrejeambrun Thanks for your help. Could you please tell me how I can get bundle_link from the model ?

  6. pierrejeambrun commented on Feb 7, 2025

    @pierrejeambrun
    Member

    You can retrieve the bundle url using the DagBundlesManager and calling the view_url.

  7. Prab-27 commented on Feb 7, 2025

    @Prab-27
    Contributor

    @pierrejeambrun Thanks , Could you please tell me how I can test endpoint locally after adding code and test-code?

  8. pierrejeambrun commented on Feb 12, 2025

    @pierrejeambrun
    Member

    Hello @Prab-27,

    We need this for the UI to move forward on AIP-65. It's been a while, I'll work on this and raise a PR shortly.

    Feel free to work on any other issue that is not time sensitive, there are plenty of good first issue tickets and a lot of documentation to read to get started with 'contributing' to airflow. (How to use breeze, locally test endpoint etc...)
    https://github.com/apache/airflow/tree/main/contributing-docs

  9. Prab-27 commented on Feb 12, 2025

    @Prab-27
    Contributor

    @pierrejeambrun, if you haven't started work on this, I kindly request you to review my PR. If it is okay, you can use it. I apologize for the delay.

  10. pierrejeambrun commented on Feb 12, 2025

    @pierrejeambrun
    Member

    @Prab-27 For sanity I will provide a quick feedback but #46691 is closer to a mergeable state

  11. added this to the Airflow 3.0.0 milestone on Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

AIP-65: DAG history in UIarea:APIkind:feature

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions