This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 85be1867a6 Add warning to deprecated api docs that access control
isn't applied (#40129)
85be1867a6 is described below
commit 85be1867a690726b4556a58656597a0606ba09dc
Author: Jed Cunningham <[email protected]>
AuthorDate: Fri Jun 7 14:04:52 2024 -0600
Add warning to deprecated api docs that access control isn't applied
(#40129)
---
airflow/config_templates/config.yml | 4 ++--
docs/apache-airflow/deprecated-rest-api-ref.rst | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/airflow/config_templates/config.yml
b/airflow/config_templates/config.yml
index 1ad8c1b4cb..b1e2881907 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -1293,8 +1293,8 @@ api:
options:
enable_experimental_api:
description: |
- Enables the deprecated experimental API. Please note that these APIs
do not have access control.
- The authenticated user has full access.
+ Enables the deprecated experimental API. Please note that these API
endpoints do not have
+ access control. An authenticated user has full access.
.. warning::
diff --git a/docs/apache-airflow/deprecated-rest-api-ref.rst
b/docs/apache-airflow/deprecated-rest-api-ref.rst
index 276175f97f..cb13323885 100644
--- a/docs/apache-airflow/deprecated-rest-api-ref.rst
+++ b/docs/apache-airflow/deprecated-rest-api-ref.rst
@@ -23,6 +23,11 @@ Deprecated REST API
This REST API is deprecated since version 2.0. Please consider using the
:doc:`stable REST API <stable-rest-api-ref>`.
For more information on migration, see `UPDATING.md
<https://airflow.apache.org/docs/apache-airflow/stable/howto/upgrading-from-1-10/>`_
+.. warning::
+
+ Please note that these API endpoints do not have access control. An
authenticated user has full access.
+
+
Before Airflow 2.0 this REST API was known as the "experimental" API, but now
that the :doc:`stable REST API <stable-rest-api-ref>` is available, it has been
renamed.
The endpoints for this API are available at ``/api/experimental/``.