Getting a list of snapshot group names

Storage Advisor Embedded User Guide

Version
93-07-2x
88-08-12
Audience
anonymous
Part Number
MK-97HM85022-25

The following request gets a list of snapshot group names.

Execution permission

Storage Administrator (View Only)

Request line

GET base-URL/simple/v1/objects/snapshot-groups

Request message

Object ID
None.
Query parameters
None.
Body
None.

Response message

Body
{
  "data": [
    {
      "name": "snapshotGroup"
    },
    {
      "name": "snapshotGroup2"
    }
  ],
  "count": 2
}

Attribute

Type

Description

name

string

Snapshot group name

Status codes

See HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X GET https://192.0.2.100/ConfigurationManager/simple/v1/objects/snapshot-groups