Skip to content

Conversation

@kyungjunleeme
Copy link
Contributor

To improve security and maintainability, this PR centralizes the management of API endpoints.
Currently, some endpoints are inconsistently defined, with hardcoded paths scattered across the codebase.
This can lead to issues such as incorrect routing, duplication (e.g., redundant api/ prefixes), and makes auditing or updating endpoints error-prone.

Changes:

  • Centralized endpoint definitions into a single module.

This work is related to #52385, and the issue was identified in #53039.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@potiuk potiuk merged commit 1582776 into apache:main Jul 13, 2025
77 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants