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
This commit is contained in:
Dongcan Ye 2018-04-26 17:08:32 +00:00
parent 7b304d55bf
commit 8addf353f4
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ Request
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- project_id: project_id_path - project_id: project_id_path
- cgsnapshot_id: cgsnapshot_id - cgsnapshot_id: cgsnapshot_id_1
Show consistency group snapshot details Show consistency group snapshot details
@ -50,7 +50,7 @@ Request
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- project_id: project_id_path - project_id: project_id_path
- cgsnapshot_id: cgsnapshot_id - cgsnapshot_id: cgsnapshot_id_1
Response Parameters Response Parameters

View File

@ -29,7 +29,7 @@ cgsnapshot_id_1:
description: | description: |
The ID of the consistency group snapshot. The ID of the consistency group snapshot.
in: path in: path
required: false required: true
type: string type: string
encryption_id: encryption_id:
description: | description: |