Restore

POST v1/volumes/id/actions/restore

Description

Restore volume data from a previous snapshot.

Normal Response Codes

200

HTTP Error Codes

400 401 403 404 409 500 503

Detail Codes

SM_cache_pinned_notsup

SM_ebusy

SM_eexist

SM_invalid_arg_value

SM_invalid_path_variable

SM_invalid_query_param

SM_limit_snap_group

SM_limit_snap_pool

SM_limit_snap_vol

SM_malformed_url

SM_missing_arg

SM_no_action_found

SM_no_available_lun

SM_no_method_for_URL_pattern

SM_no_operation_found

SM_no_path_found

SM_not_owner

SM_partner_cfg_sync

SM_root_branch_pinned

SM_too_many

SM_unexpected_arg

SM_unexpected_child

SM_unexpected_query_param

SM_version_name

SM_vol_not_online

Request

Parameter Type JSON Type Description Mandatory
id NsObjectID string ID of the restored volume. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true
base_snap_id NsObjectID string ID of the snapshot to which this the volume is restored. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true

JSON Request


            
           
       
         

Response

Type:

JSON Response