REST API Reference Version 4.4.0.0Search

Bulk_create

POST v1/snapshots/actions/bulk_create

Description

Create snapshots on the given set of volumes.

Normal Response Codes

200

HTTP Error Codes

400 401 403 404 409 500 501 503

Request

Parameter Type JSON Type Description Mandatory
snap_vol_list NsSnapVolList Array of NsSnapVol List of volumes to snapshot and corresponding snapshot creation attributes. VSS application-synchronized snapshot must specify the 'writable' parameter and set it to true. List of snapshots to create. true
replicate NsBoolean boolean Allow snapshot to be replicated. Possible values: 'true', 'false'. true
vss_snap NsBoolean boolean VSS app-synchronized snapshot; we don't support creation of non app-synchronized sanpshots through this interface; must be set to true. Possible values: 'true', 'false'. true

JSON Request

            
            
            {
                "data" : {
                    "snap_vol_list":[{"vol_id":"0600000000000004d3000000000000000000000007",
                                      "snap_name":"",
                                      "snap_description":"",
                                      "cookie":"",
                                      "online":false,
                                      "writable":true},
                                      {"vol_id":"0600000000000004d3000000000000000000000008",
                                       "snap_name":"",
                                       "snap_description":"",
                                       "cookie":"",
                                       "online":false,
                                       "writable":true}],
                    "replicate":false,
                    "vss_snap":true
               }
            }
            
        
         

Response

Type: NsSnapVolListReturn

Member Type JSON Type Description
snap_ids NsObjectIDKVList array A list of snapshot ids. A list of key value pairs containing object ids as values.

JSON Response

            
            
            {
              "data" : {
                  "snap_ids":[{"id":"0400000000000004d3000000000000000100000001"},
                               {"id":"0400000000000004d3000000000000000200000001"}]
              }
            }