Retrieve a list of snapshot details for a volume
GET /account/{accountId}/providers/cloudmanager_cbs/api/v1/working-environment/{workingEnvironmentId}/volume/{volumeId}/snapshot
Retrieves a list of snapshot details pertaining to a specific volume in a particular system. The system ID, volume ID, and snapshot ID are passed as parameters for the REST API call. You can query by passing parameters to specify the maximum number of records that should be returned, the next subsequent snapshot UUID to get results from, and the next CP-COUNT from where the results should be fetched.
Token usage: NetApp Console user token.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
max-records |
number |
query |
False |
|
cursor |
string |
query |
False |
|
cp-count |
number |
query |
False |
|
accountId |
string |
path |
True |
|
workingEnvironmentId |
string |
path |
True |
|
volumeId |
string |
path |
True |
|
authorization |
string |
header |
True |
|
X-Agent-Id |
string |
header |
True |
Response
Status: 200, Default response
| Name | Type | Required | Description |
|---|---|---|---|
snapshot |
array[snapshot] |
False |
|
num-records |
number |
False |
|
cursor |
string |
False |
|
cp-count |
number |
False |
Example response
{
"snapshot": [
{
"id": "string",
"name": "string"
}
],
"cursor": "string"
}
Definitions
See Definitions
snapshot
| Name | Type | Required | Description |
|---|---|---|---|
id |
string |
False |
|
name |
string |
False |
|
size |
number |
False |
|
creation-time |
number |
False |