Skip to main content

Retrieve a list of snapshots using the account ID

GET /account/{accountId}/providers/cloudmanager_cbs/api/v1/backup/snapshot

Retrieves snapshot information for a specified account by using the account ID. This API endpoint retrieves the details of the 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.

Token usage: NetApp Console user token.

Parameters

Name Type In Required Description

accountId

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"
    }
  ]
}

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