From 760e103ee4bf1190d907aa3532797018f832f9d1 Mon Sep 17 00:00:00 2001 From: XinxinShen Date: Tue, 8 Dec 2020 08:51:14 +0800 Subject: [PATCH] Update the PCI device section in the API document MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Change-Id: I636b830f34f9a74e0173d4a53224ec3f0249bba2 --- api-ref/source/api-ref-sysinv-v1-config.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-ref/source/api-ref-sysinv-v1-config.rst b/api-ref/source/api-ref-sysinv-v1-config.rst index 54f4825078..f7508cbb3a 100644 --- a/api-ref/source/api-ref-sysinv-v1-config.rst +++ b/api-ref/source/api-ref-sysinv-v1-config.rst @@ -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**