From: Zac Dover Date: Thu, 8 May 2025 00:08:06 +0000 (+1000) Subject: doc/mgr/ceph_api: edit index.rst X-Git-Tag: v20.1.0~318^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F63196%2Fhead;p=ceph.git doc/mgr/ceph_api: edit index.rst Edit doc/mgr/ceph_api/index.rst as part of the project to determine where the error is in https://github.com/ceph/ceph/pull/62782 that prevents the Jenkins tests from passing. This is a change to one of twenty-five files in https://github.com/ceph/ceph/pull/62782, and this commit represents one of what will be at least twenty-five other commits made to track this error down. Signed-off-by: Zac Dover (cherry picked from commit 5c17f2242318d57e9faaafc83774a8f8a36f6e0e) --- diff --git a/doc/mgr/ceph_api/index.rst b/doc/mgr/ceph_api/index.rst index 1cdc9a97bfb5..7bdc484dab27 100644 --- a/doc/mgr/ceph_api/index.rst +++ b/doc/mgr/ceph_api/index.rst @@ -53,9 +53,11 @@ be obtained, and it may then be reused for subsequent requests. The { "token": "", ...} The token obtained must be passed together with every API request in the -``Authorization`` HTTP header:: +``Authorization`` HTTP header: - curl -H "Authorization: Bearer " ... +.. prompt:: bash $ + + curl -H "Authorization: Bearer " ... Authentication and authorization can be further configured from the Ceph CLI, the Ceph-Dashboard UI and the Ceph API itself (please refer to