Retrieve snapshot information for a volume
GET /account/{accountId}/providers/cloudmanager_cbs/api/v1/backup/working-environment/{workingEnvironmentId}/volume/{volumeId}/snapshot
Retrieves snapshot information for a specified volume backed up using the NetApp Backup and Recovery service for a system. This API endpoint retrieves the details of the volume snapshots from the NetApp Console SaaS application. It retrieves the snapshot name, snapshot creation time, archive status, and size. It also retrieves the object-lock, ransomware-scan-status-failure, and ransomware-scan-status details.
Token usage: NetApp Console user token.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
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 |
Example response
{
"snapshot": [
{
"id": "string",
"name": "string",
"object-lock": "string",
"ransomware-scan-status-failure": "string",
"ransomware-scan-status": "string",
"volume-id": "string",
"volume-name": "string",
"working-environment-id": "string",
"working-environment-name": "string",
"svm": "string"
}
]
}
Definitions
See Definitions
snapshot
| Name | Type | Required | Description |
|---|---|---|---|
id |
string |
False |
|
name |
string |
False |
|
creation-time |
number |
False |
|
size |
number |
False |
|
last-ransomware-scan |
number |
False |
|
object-lock |
string |
False |
|
ransomware-scan-status-failure |
string |
False |
|
archived |
boolean |
False |
|
ransomware-scan-status |
string |
False |
|
volume-id |
string |
False |
|
volume-name |
string |
False |
|
working-environment-id |
string |
False |
|
working-environment-name |
string |
False |
|
svm |
string |
False |