Tape Drive Controller Resource

The API allows you list and view Tapes.

GET /tape-drives

Returns list of tape drives filtered by specified query parameters.

Request 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
Response Body
media type data type description
application/json array of TapeDriveDetails (JSON) list of tape drives filtered by specified query parameters

Example

Request
GET /tape-drives
Content-Type: */*
Accept: application/json

                
...
                
              
Response
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
} ]
                
              

DELETE /tape-drives/{guid}

Request Parameters
name type description
guid path

Example

Request
DELETE /tape-drives/{guid}
Content-Type: */*

                
...
                
              
Response
HTTP/1.1 204 No Content

              

GET /tape-drives/{guid}

Get a single tape drive.

Request Parameters
name type description
guid path specify local unique identifier for tape drive (use by vProtect)
Response Body
media type data type description
application/json TapeDriveDetails (JSON) tape drive details

Example

Request
GET /tape-drives/{guid}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
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
}