Tape Lock Controller Resource

GET /tape-lock

Returns list of tape locks filtered by specified query parameters.

Request Parameters
name type description
tape query
tape-drive query
task query
Response Body
media type data type description
application/json array of TapeLockDetails (JSON) list of tape locks filtered by specified query parameters

Example

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

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "tapeDrive" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "tapes" : [ {
    "guid" : "...",
    "name" : "...",
    "serialNumber" : "...",
    "usedSpace" : 12345,
    "totalSpace" : 12345,
    "initialized" : true,
    "state" : "EJECTED",
    "tapeLibrary" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "tapePoolBackupDestination" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "tapeLocation" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "type" : "REGULAR"
  }, {
    "guid" : "...",
    "name" : "...",
    "serialNumber" : "...",
    "usedSpace" : 12345,
    "totalSpace" : 12345,
    "initialized" : true,
    "state" : "READY",
    "tapeLibrary" : {
      "guid" : "...",
      "name" : "..."
    },
    "tapePoolBackupDestination" : {
      "guid" : "...",
      "name" : "..."
    },
    "tapeLocation" : {
      "guid" : "...",
      "name" : "..."
    },
    "type" : "CLEANING"
  } ],
  "task" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "date" : 12345
} ]
                
              

GET /tape-lock/{guid}

Get a single tape lock.

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

Example

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

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "tapeDrive" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "tapes" : [ {
    "guid" : "...",
    "name" : "...",
    "serialNumber" : "...",
    "usedSpace" : 12345,
    "totalSpace" : 12345,
    "initialized" : true,
    "state" : "EJECTED",
    "tapeLibrary" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "tapePoolBackupDestination" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "tapeLocation" : {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
      "name" : "Entity name"
    },
    "type" : "CLEANING"
  }, {
    "guid" : "...",
    "name" : "...",
    "serialNumber" : "...",
    "usedSpace" : 12345,
    "totalSpace" : 12345,
    "initialized" : true,
    "state" : "EJECTED",
    "tapeLibrary" : {
      "guid" : "...",
      "name" : "..."
    },
    "tapePoolBackupDestination" : {
      "guid" : "...",
      "name" : "..."
    },
    "tapeLocation" : {
      "guid" : "...",
      "name" : "..."
    },
    "type" : "CLEANING"
  } ],
  "task" : {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  },
  "date" : 12345
}