You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by vi...@apache.org on 2025/07/25 16:32:01 UTC
(airflow) branch main updated: Remove extra slash from endpoint URL (#53755)
This is an automated email from the ASF dual-hosted git repository.
vincbeck 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 31db12826ee Remove extra slash from endpoint URL (#53755)
31db12826ee is described below
commit 31db12826ee05c0b63cc1fcdb0f17c32afb6e46b
Author: Lui Pillmann <lu...@gmail.com>
AuthorDate: Fri Jul 25 18:31:54 2025 +0200
Remove extra slash from endpoint URL (#53755)
---
airflow-core/docs/core-concepts/auth-manager/simple/token.rst | 4 ++--
airflow-core/docs/howto/docker-compose/index.rst | 2 +-
airflow-core/docs/security/api.rst | 4 ++--
providers/fab/docs/auth-manager/api-authentication.rst | 4 ++--
providers/fab/docs/auth-manager/token.rst | 2 +-
providers/google/docs/api-auth-backend/google-openid.rst | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/airflow-core/docs/core-concepts/auth-manager/simple/token.rst b/airflow-core/docs/core-concepts/auth-manager/simple/token.rst
index 4e9e5cadf32..0fdaee5dd78 100644
--- a/airflow-core/docs/core-concepts/auth-manager/simple/token.rst
+++ b/airflow-core/docs/core-concepts/auth-manager/simple/token.rst
@@ -30,7 +30,7 @@ Example
.. code-block:: bash
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
curl -X 'POST' \
"${ENDPOINT_URL}/auth/token" \
-H 'Content-Type: application/json' \
@@ -45,5 +45,5 @@ If ``[core] simple_auth_manager_all_admins`` is set to True, you can also genera
.. code-block:: bash
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
curl -X 'GET' "${ENDPOINT_URL}/auth/token"
diff --git a/airflow-core/docs/howto/docker-compose/index.rst b/airflow-core/docs/howto/docker-compose/index.rst
index 68c4d00998e..62382469df7 100644
--- a/airflow-core/docs/howto/docker-compose/index.rst
+++ b/airflow-core/docs/howto/docker-compose/index.rst
@@ -279,7 +279,7 @@ Here is a sample ``curl`` command, which sends a request to retrieve a pool list
.. code-block:: bash
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
curl -X GET \
--user "airflow:airflow" \
"${ENDPOINT_URL}/api/v1/pools"
diff --git a/airflow-core/docs/security/api.rst b/airflow-core/docs/security/api.rst
index 3f86a75b863..65469c880f9 100644
--- a/airflow-core/docs/security/api.rst
+++ b/airflow-core/docs/security/api.rst
@@ -43,7 +43,7 @@ Request
.. code-block:: bash
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
curl -X POST ${ENDPOINT_URL}/auth/token \
-H "Content-Type: application/json" \
-d '{
@@ -63,7 +63,7 @@ Use the JWT token to call Airflow public API
.. code-block:: bash
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
curl -X GET ${ENDPOINT_URL}/api/v2/dags \
-H "Authorization: Bearer <JWT-TOKEN>"
diff --git a/providers/fab/docs/auth-manager/api-authentication.rst b/providers/fab/docs/auth-manager/api-authentication.rst
index a4c91539c3c..38e47bc13c1 100644
--- a/providers/fab/docs/auth-manager/api-authentication.rst
+++ b/providers/fab/docs/auth-manager/api-authentication.rst
@@ -66,7 +66,7 @@ work. This means that your user name should be ``user_name@REALM``.
.. code-block:: bash
kinit user_name@REALM
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
curl -X GET \
--negotiate \ # enables Negotiate (SPNEGO) authentication
--service airflow \ # matches the `airflow` service name in the `airflow/fully.qualified.domainname@REALM` principal
@@ -106,7 +106,7 @@ Here is a sample curl command you can use to validate the setup:
.. code-block:: bash
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
curl -X GET \
--user "username:password" \
"${ENDPOINT_URL}/api/v1/pools"
diff --git a/providers/fab/docs/auth-manager/token.rst b/providers/fab/docs/auth-manager/token.rst
index af610ab6ad4..4fa0efd47af 100644
--- a/providers/fab/docs/auth-manager/token.rst
+++ b/providers/fab/docs/auth-manager/token.rst
@@ -30,7 +30,7 @@ Example
.. code-block:: bash
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
curl -X 'POST' \
"${ENDPOINT_URL}/auth/token" \
-H 'Content-Type: application/json' \
diff --git a/providers/google/docs/api-auth-backend/google-openid.rst b/providers/google/docs/api-auth-backend/google-openid.rst
index 03885876cbe..2b183d9c283 100644
--- a/providers/google/docs/api-auth-backend/google-openid.rst
+++ b/providers/google/docs/api-auth-backend/google-openid.rst
@@ -59,7 +59,7 @@ look like the following.
.. code-block:: bash
- ENDPOINT_URL="http://localhost:8080/"
+ ENDPOINT_URL="http://localhost:8080"
AUDIENCE="project-id-random-value.apps.googleusercontent.com"
ID_TOKEN="$(gcloud auth print-identity-token "--audiences=${AUDIENCE}")"