This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new d3190a14c1c [v3-0-test] Remove extra slash from endpoint URL (#53755)
(#53764)
d3190a14c1c is described below
commit d3190a14c1c81a1207f4eeaed80e724b6ccd8ddb
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Jul 26 07:42:13 2025 +0200
[v3-0-test] Remove extra slash from endpoint URL (#53755) (#53764)
(cherry picked from commit 31db12826ee05c0b63cc1fcdb0f17c32afb6e46b)
Co-authored-by: Lui Pillmann <[email protected]>
---
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 0d5e2a22bb6..b46d843613c 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 969457f8def..a4a0de2a2e9 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 35c9bb3a74a..f8675e3ed6a 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}")"