From 8addf353f45f8d18fe006856be184644a221452f Mon Sep 17 00:00:00 2001 From: Dongcan Ye Date: Thu, 26 Apr 2018 17:08:32 +0000 Subject: [PATCH] api-ref: Correct the cgsnapshot_id parameter The cgsnapshot_id parameter in delete and get operations should in path, and is required. Change-Id: I5525c05769dcd27ff06d7b1d4c97698f99075f09 --- api-ref/source/v2/os-cgsnapshots-v2.inc | 4 ++-- api-ref/source/v2/parameters.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api-ref/source/v2/os-cgsnapshots-v2.inc b/api-ref/source/v2/os-cgsnapshots-v2.inc index 529e97007b8..bf2e5d07dfc 100644 --- a/api-ref/source/v2/os-cgsnapshots-v2.inc +++ b/api-ref/source/v2/os-cgsnapshots-v2.inc @@ -27,7 +27,7 @@ Request .. rest_parameters:: parameters.yaml - project_id: project_id_path - - cgsnapshot_id: cgsnapshot_id + - cgsnapshot_id: cgsnapshot_id_1 Show consistency group snapshot details @@ -50,7 +50,7 @@ Request .. rest_parameters:: parameters.yaml - project_id: project_id_path - - cgsnapshot_id: cgsnapshot_id + - cgsnapshot_id: cgsnapshot_id_1 Response Parameters diff --git a/api-ref/source/v2/parameters.yaml b/api-ref/source/v2/parameters.yaml index eacfcd34c07..b82c23bdf03 100644 --- a/api-ref/source/v2/parameters.yaml +++ b/api-ref/source/v2/parameters.yaml @@ -29,7 +29,7 @@ cgsnapshot_id_1: description: | The ID of the consistency group snapshot. in: path - required: false + required: true type: string encryption_id: description: |