Obtaining the Copy Session Information for All Volumes
GET /volume/copysession
Introduction
Obtains the Copy Session information for all volumes.
The information is sorted by volume_id in ascending order.
The presence of the following Copy Sessions is ignored in creating the response information. For example, is_copy_destination_volume is false for Copy destination Volumes in Storage Cluster.
Monitor
ODX
XCOPY
VVOL Copy Session
Storage Cluster
Copy Range is Extent
Copy Session Status is Reserved
Request Examples
This is an example of obtaining only the Volume ID and Name of a Copy Session.
$ curl -i -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X GET "https://192.168.1.1:5665/api/v1/volume/copysession?fields=volume_name"
Response Examples
{
"total_count": 512,
"list_count": 1,
"volume_list": [
{
"volume_id": 100001,
"volume_number": 1,
"volume_href": "/api/v1/volume/100001",
"volume_name": "vol#01",
"is_copy_source_volume": true,
"is_copy_destination_volume": true,
"backup_type": "Clone",
"source_volume_number": 2,
"source_volume_href": "/api/v1/volume/200001",
"source_volume_name": "datastore#2",
"source_boxid": "00ETERNUSDXHS3ET00000A####EI000002######",
"copysession_href": "/api/v1/copysession/1",
"remote_copysession_id": 2,
"backup_time": "2020-12-01T12:30:00Z",
"error_ocurrence_time": "2020-12-01T12:30:00Z",
"status": "Active",
"phase": "Equivalent",
"is_manual_snapshot": false,
"is_data_tracking_disabled": false
}
],
"next_href": "/api/v1/volume?is_used_status_attention=true&fields=number,name&last_get_id=100005"
}
Parameters
QUERY PARAMETERS
| fields | Array of strings Parameter to display. Only the information of the specified Parameter name (Response Body Parameter) is extracted and obtained. For details about the specification methods, see Property Filter. |
||||||||||||
| volume_id | Array of integers Volume ID. Specify the Volume ID for which you want information. Input criteria:
|
||||||||||||
| is_copy_source_volume | boolean Whether the Volume is the source Volume. If true, only the information on the Volumes that are the Copy source in a Copy Session is responded. |
||||||||||||
| is_copy_destination_volume | boolean Whether the Volume is the destination Volume. If true, only the information on the Volumes that are the Copy destination in a Copy Session is responded. |
||||||||||||
| backup_type | Array of strings Backup Type. Specify the Volume Backup Type for which you want information.
Input criteria:
|
||||||||||||
| status | Array of strings Status. Specify the Volume Copy Session Status for which you want information.
|
||||||||||||
| phase | Array of strings Phase. Specify the Volume Copy Session Phase for which you want information.
Input criteria:
|
||||||||||||
| is_manual_snapshot | boolean Whether the Snapshot is managed by generation. If specified as true, only copy session information for snapshots not managed by generation (equivalent to SnapOPC Volumes) will be returned. |
||||||||||||
| is_data_tracking_disabled | boolean Whether the Clone's physical data can be resynchronized. If specified as true, only the Copy Session information for Clones (equivalent to OPC Volumes) whose physical data cannot be resynchronized will be responded to. |
||||||||||||
| max_records | integer The maximum number of resources for which you want information. Specify this parameter when you want to limit the number of pieces of information that can be answered. Input criteria:
|
||||||||||||
| start_number | integer Default: 0 The first number of the resource for which you want information. |
||||||||||||
| last_get_id | integer The identifier of the resource for which to obtain further information. If all resources matching the response conditions cannot be answered at once, next_href is returned. The last_get_id is the information given to next_href to obtain further information. |
Responses
If successful, the HTTP status code is 200 (OK) and the response body is returned.
RESPONSE BODY
| total_count | integer The total number of Resources present in the device. If a filter is applied, this is the total number of Resources that meet the criteria. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| list_count | integer Number of Lists to respond. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| volume_list | Array of objects
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| next_href | string Link to get more information. This item is returned only when it is not possible to respond all information at once. For example, this item is returned if there are more Resources that match the response condition than the number specified by max_records. |

