Gets the list of tape devices.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl --request POST \ --url https://<Director_IP_address>:4443/c/router \ --header "content-type: application/json" \ --cookie @cookies.txt \ --data "{ "action": "TapeDeviceManagement", "method": "getDevices", "data": [{"filter": { "start": 0, "count": 200, "sort": "NAME", "sortAsc": true } }], "type": "rpc", "tid": 1}"
Request Fields
Field | Type | Value(s) |
---|---|---|
action | string | TapeDeviceManagement |
method | string | getDevices |
data | Json | Filter parameters. See the filter table below |
type | string | rpc |
tid | integer | 1 |
filter
Field | Type | Description |
---|---|---|
| int | A start ID of the tape device to be returned |
| int | Number of tape devices to be returned |
| string | Tape device parameter to be sorted with |
| boolean |
|
| array | Filter criteria. See the rows below |
| string | Type of criterion |
| string | Name of criterion. |
| string | Type of the criterion. |
| string | Value of the criterion |
Response Sample
Response Fields
Field | Value | Description |
---|---|---|
message | string | Message if the request failed |
where | string | Reference to the method where the problem occurred |
cause | string | Cause of failure |
| Json | Tape device info |
data.children
Field | Value | Description |
---|---|---|
| long | Error code of the alert (if any) |
| string | Description of the alert (if any) |
| string | Title of the alert (if any) |
| boolean | Checks if the tape device is attached |
| int | Block size of the current tape device |
| string | Change status. Possible values: NONE, CREATE_PENDING (new item, discovery is needed), CHANGE_PENDING (some attributes have changed, discovery is needed), RECREATE_PENDING (the item was destroyed and needs to be re-created) |
| Json | Media changers of the tape library |
| string | Compression type |
| string | Tape device name |
| int | Number of the tape library drives |
| Json | Tape drives of the tape library |
| long | Free capacity of the tape device |
| long | Tape device ID |
| int | Location ID of the tape device |
| string | Location name of tape device |
| int | Media pool ID of the tape device |
| string | Media pool name of the tape device |
| array | Lock reasons |
| boolean |
|
| boolean |
|
| string | Tape device name |
| int | ID of the location for tapes ejected from this tape device |
| string | Name of the location for tapes ejected from this tape device |
| string | Timestamp of the beginning of the current operation |
| long | Relative timestamp (e.g. time since start) of the beginning of the current operation |
| string | Path to the tape device |
| boolean | If |
| int | Progress of the current operation |
| int | Number of tape library slots |
| string | Tape device state |
| string | Status of the current operation on the tape device. |
| int | Number of the tape device cartridges |
| long | Tape cartridge ID |
| string | Tape cartridge name |
| long | Assigned transporter ID |
| string | Assigned transporter name |
| string | Tape device type. Possible values: |
| boolean | Checks if the changers of tape library were updated |
| boolean | Checks if the drives of tape library were updated |
| string | Tape device UUID |
| string | Tape device VID |
| boolean | Checks if the tape device was created |
| boolean | Checks if the tape device was discovered once |
| boolean | Checks if the tape device was edited |