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[]
smVolumeId int32The Volume Id of the snapshots
arrayName stringName of the array
arrayId int32Id of the array
sourceClientId int32Id of the Source Client
sourceClientName stringSource client for the engine
sourcePath stringSource path of the engine where disk is stored
mountHostId int32Id of the MA where the mount is hosted
mountHostName stringHost on which the snapshot is mounted on
mountPath stringPath to the mounted snapshot
appTypeId int32Id of the application type engine used
appTypeName stringName of the application type which the Engine used
masterJobId int32Job Id of the master job
jobId int32creationTime int32Time of Creation
mountStatusId int32Id for the mount status
mountStatusName stringWhether the snapshot was taken sucessfully or not
mountStatusUpdateTime int32Last Status Update
snapshotType int32The type of the snapshot
capabilities int32The capability flags set for the snapshot
{
"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
}
]
}
Loading...