The API allows you list and view Tapes.
Returns list of tape drives filtered by specified query parameters.
name | type | description |
---|---|---|
backup-destination | query | |
direction | query | |
filter | query | |
nameLike | query | |
orderBy | query | |
page | query | |
size | query | |
tape-library | query | |
tape-manager | query |
media type | data type | description |
---|---|---|
application/json | array of TapeDriveDetails (JSON) | list of tape drives filtered by specified query parameters |
GET /tape-drives
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "...",
"name" : "...",
"uuid" : "...",
"path" : "...",
"tapePath" : "...",
"tapeLibrary" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"tapePoolBackupDestinations" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"present" : true,
"lastUsedDate" : 12345
} ]
name | type | description |
---|---|---|
guid | path |
DELETE /tape-drives/{guid}
Content-Type: */*
...
HTTP/1.1 204 No Content
Get a single tape drive.
name | type | description |
---|---|---|
guid | path | specify local unique identifier for tape drive (use by vProtect) |
media type | data type | description |
---|---|---|
application/json | TapeDriveDetails (JSON) | tape drive details |
GET /tape-drives/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"guid" : "...",
"name" : "...",
"uuid" : "...",
"path" : "...",
"tapePath" : "...",
"tapeLibrary" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"tapePoolBackupDestinations" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ],
"present" : true,
"lastUsedDate" : 12345
}