Skip to content

Commit

Permalink
Volumes snapshot corrections (#861)
Browse files Browse the repository at this point in the history
* Corrects desciptions and parameters for retrieving and deleting volume snapshots.

* updates get volume snapshots description

---------

Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
  • Loading branch information
dbrian57 and andrewsomething authored Mar 19, 2024
1 parent 605e551 commit 916ed7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ summary: Delete a Volume Snapshot

description: |
To delete a volume snapshot, send a DELETE request to
`/v2/snapshots/$SNAPSHOT_ID`.
`/v2/volumes/snapshots/$VOLUME_SNAPSHOT_ID`.
A status of 204 will be given. This indicates that the request was processed
successfully, but that no response body is needed.
Expand All @@ -13,7 +13,7 @@ tags:
- Block Storage

parameters:
- $ref: '../snapshots/parameters.yml#/snapshot_id'
- $ref: 'parameters.yml#/volume_snapshot_id'

responses:
'204':
Expand Down
4 changes: 2 additions & 2 deletions specification/resources/volumes/volumeSnapshots_get_byId.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ summary: Retrieve an Existing Volume Snapshot

description: >+
To retrieve the details of a snapshot that has been created from a volume,
send a GET request to `/v2/volumes/snapshots/$SNAPSHOT_ID`.
send a GET request to `/v2/volumes/snapshots/$VOLUME_SNAPSHOT_ID`.
tags:
- Block Storage

parameters:
- $ref: "../snapshots/parameters.yml#/snapshot_id"
- $ref: 'parameters.yml#/volume_snapshot_id'

responses:
"200":
Expand Down

0 comments on commit 916ed7e

Please sign in to comment.