update API documentation for Ceph Monitors

An error occurred when using the Ceph Monitors
of the API documentation
(DELETE /v1/ceph_mon/​{ceph_mon_id}​). After analyzing the
code, I found that the URLs set in the code are
/v1/ceph_mon/​{host_uuid}.
This is inconsistent with the API documentation,
so update the partitions section of the API documentation.

code:https://github.com/starlingx/config/blob/
99616a7f72125c6fd5c86e5dd90af3d87ef3902c/sysinv/
cgts-client/cgts-client/cgtsclient/v1/ceph_mon.py#L55

Closes-Bug: #1899550
Change-Id: Ie1cc900a20d37246afeed740c9f67d5be405bae7
Signed-off-by: YuehuiLei<leiyuehui@inspur.com>
This commit is contained in:
YuehuiLei 2020-10-13 10:10:49 +08:00
parent 99616a7f72
commit 8c8890eecd
1 changed files with 2 additions and 2 deletions

View File

@ -11141,7 +11141,7 @@ itemNotFound (404)
Deletes a specific ceph monitor
***********************************
.. rest_method:: DELETE /v1/ceph_mon/{ceph_mon_id}
.. rest_method:: DELETE /v1/ceph_mon/{host_uuid}
Delete a ceph monitor.
@ -11155,7 +11155,7 @@ Delete a ceph monitor.
:header: "Parameter", "Style", "Type", "Description"
:widths: 20, 20, 20, 60
"ceph_mon_id", "URI", "csapi:UUID", "The unique identifier of a Ceph monitor."
"host_uuid", "URI", "csapi:UUID", "The host UUID that the Ceph monitor belongs to."
This operation does not accept a request body.