From 5ee69ae2f025dcf0fc37f9f3d16d8be6d896b846 Mon Sep 17 00:00:00 2001 From: lihaijing Date: Wed, 7 Jun 2017 12:21:13 +0800 Subject: [PATCH] Api-ref: fix parameter 'volume_id' info In Volumes (volumes) v2/v3 API methods, the request parameter 'volume_id' should be a 'path' param in request param table, not a 'body' param. Closes-bug: #1691989 Change-Id: If931d05504d4f050e7da4f4df6f8d49d4318c95d --- api-ref/source/v2/volumes-v2-volumes.inc | 12 ++++++------ api-ref/source/v3/volumes-v3-volumes.inc | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api-ref/source/v2/volumes-v2-volumes.inc b/api-ref/source/v2/volumes-v2-volumes.inc index 6e23731da61..2c297525902 100644 --- a/api-ref/source/v2/volumes-v2-volumes.inc +++ b/api-ref/source/v2/volumes-v2-volumes.inc @@ -293,7 +293,7 @@ Request .. rest_parameters:: parameters.yaml - tenant_id: tenant_id - - volume_id: volume_id + - volume_id: volume_id_path Response Parameters @@ -363,7 +363,7 @@ Request - name: name - metadata: metadata_2 - tenant_id: tenant_id - - volume_id: volume_id + - volume_id: volume_id_path Request Example --------------- @@ -453,7 +453,7 @@ Request .. rest_parameters:: parameters.yaml - tenant_id: tenant_id - - volume_id: volume_id + - volume_id: volume_id_path - cascade: cascade @@ -479,7 +479,7 @@ Request - metadata: metadata_3 - tenant_id: tenant_id - - volume_id: volume_id + - volume_id: volume_id_path Request Example --------------- @@ -523,7 +523,7 @@ Request .. rest_parameters:: parameters.yaml - tenant_id: tenant_id - - volume_id: volume_id + - volume_id: volume_id_path Response Parameters @@ -563,7 +563,7 @@ Request - metadata: metadata_3 - tenant_id: tenant_id - - volume_id: volume_id + - volume_id: volume_id_path Request Example --------------- diff --git a/api-ref/source/v3/volumes-v3-volumes.inc b/api-ref/source/v3/volumes-v3-volumes.inc index cbb22ecff1d..11f73ea816f 100644 --- a/api-ref/source/v3/volumes-v3-volumes.inc +++ b/api-ref/source/v3/volumes-v3-volumes.inc @@ -301,7 +301,7 @@ Request .. rest_parameters:: parameters.yaml - project_id: project_id_path - - volume_id: volume_id + - volume_id: volume_id_path Response Parameters @@ -371,7 +371,7 @@ Request - name: name - metadata: metadata - project_id: project_id_path - - volume_id: volume_id + - volume_id: volume_id_path Request Example --------------- @@ -461,7 +461,7 @@ Request .. rest_parameters:: parameters.yaml - project_id: project_id_path - - volume_id: volume_id + - volume_id: volume_id_path - cascade: cascade @@ -487,7 +487,7 @@ Request - metadata: metadata_3 - project_id: project_id_path - - volume_id: volume_id + - volume_id: volume_id_path Request Example --------------- @@ -532,7 +532,7 @@ Request .. rest_parameters:: parameters.yaml - project_id: project_id_path - - volume_id: volume_id + - volume_id: volume_id_path Response Parameters @@ -572,7 +572,7 @@ Request - metadata: metadata_3 - project_id: project_id_path - - volume_id: volume_id + - volume_id: volume_id_path Request Example ---------------