From 7cb913077fbe6855c07482533b90cfc32c6bf866 Mon Sep 17 00:00:00 2001 From: zhangdaolong Date: Thu, 6 Jul 2017 13:26:39 +0800 Subject: [PATCH] Fix parameters and description for os-volume_attachments Now the code implementation for the api show and delete for os-volume_attachments and the description of the document does not match. Change-Id: Ib15532d628713d771a835e9825a1c699a7ea4fcb --- api-ref/source/os-volume-attachments.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api-ref/source/os-volume-attachments.inc b/api-ref/source/os-volume-attachments.inc index 4ee52a6048..99ea39a674 100644 --- a/api-ref/source/os-volume-attachments.inc +++ b/api-ref/source/os-volume-attachments.inc @@ -92,7 +92,7 @@ Response Show a detail of a volume attachment ==================================== -.. rest_method:: GET /servers/{server_id}/os-volume_attachments/{attachment_id} +.. rest_method:: GET /servers/{server_id}/os-volume_attachments/{volume_id} Show a detail of a volume attachment. @@ -106,7 +106,7 @@ Request .. rest_parameters:: parameters.yaml - server_id: server_id_path - - attachment_id: attachment_id + - volume_id: volume_id Response -------- @@ -158,7 +158,7 @@ No body is returned on successful request. Detach a volume from an instance ================================ -.. rest_method:: DELETE /servers/{server_id}/os-volume_attachments/{attachment_id} +.. rest_method:: DELETE /servers/{server_id}/os-volume_attachments/{volume_id} Detach a volume from an instance. @@ -175,7 +175,7 @@ Request .. rest_parameters:: parameters.yaml - server_id: server_id_path - - attachment_id: attachment_id + - volume_id: volume_id Response --------