From 9c80bd9dfac67841dd9d362bec6fc4442d3ac0be Mon Sep 17 00:00:00 2001 From: XinxinShen Date: Fri, 10 Jul 2020 17:51:23 +0800 Subject: [PATCH] Update API documentation An error occurred when using the profile part of the API documentation (/v1/iprofiles and /v1/iprofiles/{profile_id}). After analyzing the code, I found that the URLs set in the code are /v1/profile and /v1/iprofile/{profile_id}. This is inconsistent with the API documentation, so update the profile section of the API documentation. Closes-Bug: #1887209 Change-Id: Id1222178ad0364ff712121566481448e873c5245 Signed-off-by: Xinxin Shen --- api-ref/source/api-ref-sysinv-v1-config.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api-ref/source/api-ref-sysinv-v1-config.rst b/api-ref/source/api-ref-sysinv-v1-config.rst index c7b8643b1e..053b85003a 100644 --- a/api-ref/source/api-ref-sysinv-v1-config.rst +++ b/api-ref/source/api-ref-sysinv-v1-config.rst @@ -3598,7 +3598,7 @@ profiles. Lists all profiles ******************** -.. rest_method:: GET /v1/iprofiles +.. rest_method:: GET /v1/iprofile **Normal response codes** @@ -3703,7 +3703,7 @@ This operation does not accept a request body. Shows information about a specific profile ******************************************** -.. rest_method:: GET /v1/iprofiles/​{profile_id}​ +.. rest_method:: GET /v1/iprofile/​{profile_id}​ **Normal response codes** @@ -3858,7 +3858,7 @@ This operation does not accept a request body. Creates a profile ******************* -.. rest_method:: POST /v1/iprofiles +.. rest_method:: POST /v1/iprofile **Normal response codes** @@ -4020,7 +4020,7 @@ badMediaType (415) Deletes a specific profile **************************** -.. rest_method:: DELETE /v1/iprofiles/​{profile_id}​ +.. rest_method:: DELETE /v1/iprofile/​{profile_id}​ **Normal response codes**