Get Snaps for a Job
Select
SaaS
Customer Managed
API to list snaps for a particular Job Id
Path Parameters
- jobId int32 required
Query Parameters
- commcellId int32
Default value:
2
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
snaps object[]
{
"snaps": [
{
"smVolumeId": 0,
"arrayName": "string",
"arrayId": 0,
"sourceClientId": 0,
"sourceClientName": "string",
"sourcePath": "string",
"mountHostId": 0,
"mountHostName": "string",
"mountPath": "string",
"appTypeId": 0,
"appTypeName": "Windows File System",
"masterJobId": 0,
"jobId": 0,
"creationTime": 0,
"mountStatusId": 0,
"mountStatusName": "string",
"mountStatusUpdateTime": 0,
"snapshotType": 0,
"capabilities": 0
}
]
}
{
"snaps": [
{
"smVolumeId": 8834,
"arrayId": 16,
"arrayName": "xxx.xx.xx.xx",
"sourceClientId": 3,
"sourceClientName": "Client_name",
"sourcePath": "/path",
"mountHostId": 0,
"mountHostName": "",
"mountPath": "",
"appTypeId": 29,
"appTypeName": "Linux File System",
"masterJobId": 0,
"jobId": 12345,
"creationTime": 123456789,
"mountStatusId": 98,
"mountStatusName": "Failed to delete",
"mountStatusUpdateTime": 123456789,
"snapshotType": 1,
"capabilities": 1564369309
}
]
}
GET /v4/storagearrays/job/:jobid/snaps
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Job/:jobId/Snaps' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Job/:jobId/Snaps' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Job/:jobId/Snaps' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Job/:jobId/Snaps' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Job/:jobId/Snaps' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Job/:jobId/Snaps' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/StorageArrays/Job/:jobId/Snaps' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'