Resource URL: /platform/<<version=3>>/hardware/tapes

    Overview: This resource applies to list tape/changer devices

     Methods: GET

********************************************************************************

Method GET: Get list Tape and Changer devices

       URL: GET /platform/<<version=3>>/hardware/tapes

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "description": "Get list Tape and Changer devices", 
  "properties": {
    "total": {
      "type": "integer", 
      "description": "The number of devices"
    }, 
    "devices": {
      "media_changers": {
        "type": "array", 
        "properties": {
          "paths": {
            "type": "array", 
            "description": "Accessible paths of the device", 
            "properties": {
              "portid": {
                "type": "string", 
                "description": "Port ID on the path"
              }, 
              "devname": {
                "type": "string", 
                "description": "Device driver file name"
              }, 
              "passname": {
                "type": "string", 
                "description": "Pass through device driver file name"
              }, 
              "state": {
                "enum": [
                  "active", 
                  "inactive"
                ], 
                "type": "string", 
                "description": "path state"
              }, 
              "opencount": {
                "type": "integer", 
                "description": "Number of open"
              }, 
              "wwpn": {
                "type": "string", 
                "description": "World wide port name"
              }, 
              "path": {
                "type": "string", 
                "description": "Path of the device"
              }, 
              "LUN": {
                "type": "integer", 
                "description": "Logic unit number of the device on the path"
              }
            }
          }, 
          "product": {
            "type": "string", 
            "description": "Product information string including vendor, model, and revision"
          }, 
          "opencount": {
            "type": "integer", 
            "description": "Number of open"
          }, 
          "name": {
            "type": "string", 
            "description": "Name of the device"
          }, 
          "wwnn": {
            "type": "string", 
            "description": "World wide node name of the port"
          }, 
          "state": {
            "enum": [
              "read/write", 
              "write only", 
              "read only", 
              "raw", 
              "closed"
            ], 
            "type": "string", 
            "description": "Device state"
          }, 
          "serial": {
            "type": "string", 
            "description": "Serial number of the device"
          }, 
          "id": {
            "type": "string", 
            "description": "The unique display id."
          }
        }
      }, 
      "tapes": {
        "type": "array", 
        "properties": {
          "paths": {
            "type": "array", 
            "description": "Accessible paths of the device", 
            "properties": {
              "portid": {
                "type": "string", 
                "description": "Port ID on the path"
              }, 
              "devname": {
                "type": "string", 
                "description": "Device driver file name"
              }, 
              "passname": {
                "type": "string", 
                "description": "Pass through device driver file name"
              }, 
              "state": {
                "enum": [
                  "active", 
                  "inactive"
                ], 
                "type": "string", 
                "description": "path state"
              }, 
              "opencount": {
                "type": "integer", 
                "description": "Number of open"
              }, 
              "wwpn": {
                "type": "string", 
                "description": "World wide port name"
              }, 
              "path": {
                "type": "string", 
                "description": "Path of the device"
              }, 
              "LUN": {
                "type": "integer", 
                "description": "Logic unit number of the device on the path"
              }
            }
          }, 
          "product": {
            "type": "string", 
            "description": "Product information string including vendor, model, and revision"
          }, 
          "opencount": {
            "type": "integer", 
            "description": "Number of open"
          }, 
          "name": {
            "type": "string", 
            "description": "Name of the device"
          }, 
          "wwnn": {
            "type": "string", 
            "description": "World wide node name of the port"
          }, 
          "state": {
            "enum": [
              "read/write", 
              "write only", 
              "read only", 
              "raw", 
              "closed"
            ], 
            "type": "string", 
            "description": "Device state"
          }, 
          "serial": {
            "type": "string", 
            "description": "Serial number of the device"
          }, 
          "id": {
            "type": "string", 
            "description": "The unique display id."
          }
        }
      }
    }, 
    "resume": {
      "type": "string", 
      "description": "Resume string returned by previous query."
    }
  }
}
