Update the PCI device section in the API document
An error occurred while using the API interface (/v1/devices/{device_id}) in the API documentation. After analysis code, I found that the API interface should be /v1/pci_devices/{device_id}, and the URL of "Modifies a specific PCI device" also has this problem, so I also update this part of the API document. Closes-Bug:#1907074 Signed-off-by: XinxinShen<shenxinxin@inspur.com> Change-Id: I636b830f34f9a74e0173d4a53224ec3f0249bba2
This commit is contained in:
parent
341f2594f8
commit
760e103ee4
@ -5850,7 +5850,7 @@ This operation does not accept a request body.
|
||||
Shows the attributes of a specific PCI device
|
||||
***********************************************
|
||||
|
||||
.. rest_method:: GET /v1/devices/{device_id}
|
||||
.. rest_method:: GET /v1/pci_devices/{device_id}
|
||||
|
||||
**Normal response codes**
|
||||
|
||||
@ -5940,7 +5940,7 @@ This operation does not accept a request body.
|
||||
Modifies a specific PCI device
|
||||
********************************
|
||||
|
||||
.. rest_method:: PATCH /v1/devices/{device_id}
|
||||
.. rest_method:: PATCH /v1/pci_devices/{device_id}
|
||||
|
||||
**Normal response codes**
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user