Tape_drives

(By tape library) Lists all tape drives.

get

API Key Scope: tape_drives / index

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
tape_library_idstringRequired

Numeric ID, serial, or name of tape library.

Query parameters
limitintegerOptional

The number of items to display for pagination.

offsetintegerOptional

The number of items to skip for pagination.

sort_bystring[]Optional

Sort results by attribute.

Can sort on multiple attributes, separated by |. Order direction can be suffixing the attribute by either :asc (default) or :desc.

idstringOptional

Filter on id

namestringOptional

Filter on name

serialstringOptional

Filter on serial

commentstringOptional

Filter on comment

scsi_addressstringOptional

Filter on scsi address

vendorstringOptional

Filter on vendor

productstringOptional

Filter on product

firmwarestringOptional

Filter on firmware

devicestringOptional

Filter on device

sgdevicestringOptional

Filter on sgdevice

libsostringOptional

Filter on libso

acsstringOptional

Filter on acs

lsmstringOptional

Filter on lsm

panelstringOptional

Filter on panel

transportstringOptional

Filter on transport

statusstringOptional

Filter on status

fullstringOptional

Filter on full

mount_countstringOptional

Filter on mount count

use_tostringOptional

Filter on use to

use_bystringOptional

Filter on use by

barcodestringOptional

Filter on barcode

task_idstringOptional

Filter on task id

use_file_processed_sizestringOptional

Filter on use file processed size

use_file_size_to_processstringOptional

Filter on use file size to process

use_file_name_processedstringOptional

Filter on use file name processed

bandwidthstringOptional

Filter on bandwidth

Responses
chevron-right
200

List of tape drives.

application/json
countintegerRead-onlyOptionalExample: 1
get
/tape_libraries/{tape_library_id}/tape_drives
200

List of tape drives.

(By tape library) Creates a new tape drive.

post

API Key Scope: tape_drives / create

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
tape_library_idstringRequired

Numeric ID, serial, or name of tape library.

Body
Responses
post
/tape_libraries/{tape_library_id}/tape_drives

Lists tape drives devices.

get

API Key Scope: tape_drives / devices

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
tape_library_idstringRequired

Numeric ID, serial, or name of tape library.

Query parameters
job_idstringOptional

ID of active job

Responses
chevron-right
200

List of tape drives devices.

application/json
or
get
/tape_libraries/{tape_library_id}/tape_drives/-/devices

Lists all tape drives.

get

API Key Scope: tape_drives / index

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Query parameters
limitintegerOptional

The number of items to display for pagination.

offsetintegerOptional

The number of items to skip for pagination.

sort_bystring[]Optional

Sort results by attribute.

Can sort on multiple attributes, separated by |. Order direction can be suffixing the attribute by either :asc (default) or :desc.

idstringOptional

Filter on id

tape_library_idstringOptional

Filter on tape library id

namestringOptional

Filter on name

serialstringOptional

Filter on serial

commentstringOptional

Filter on comment

scsi_addressstringOptional

Filter on scsi address

vendorstringOptional

Filter on vendor

productstringOptional

Filter on product

firmwarestringOptional

Filter on firmware

devicestringOptional

Filter on device

sgdevicestringOptional

Filter on sgdevice

libsostringOptional

Filter on libso

acsstringOptional

Filter on acs

lsmstringOptional

Filter on lsm

panelstringOptional

Filter on panel

transportstringOptional

Filter on transport

statusstringOptional

Filter on status

fullstringOptional

Filter on full

mount_countstringOptional

Filter on mount count

use_tostringOptional

Filter on use to

use_bystringOptional

Filter on use by

barcodestringOptional

Filter on barcode

task_idstringOptional

Filter on task id

use_file_processed_sizestringOptional

Filter on use file processed size

use_file_size_to_processstringOptional

Filter on use file size to process

use_file_name_processedstringOptional

Filter on use file name processed

bandwidthstringOptional

Filter on bandwidth

Responses
chevron-right
200

List of tape drives.

application/json
countintegerRead-onlyOptionalExample: 1
get
/tape_drives
200

List of tape drives.

Displays a specific tape drive.

get

API Key Scope: tape_drives / show

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
tape_drive_serialstringRequired

Serial, or name of tape drive.

Responses
chevron-right
200

A specific tape drive.

application/json
get
/tape_drives/{tape_drive_serial}
200

A specific tape drive.

Updates a specific tape drive.

put

API Key Scope: tape_drives / update

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
tape_drive_serialstringRequired

Serial, or name of tape drive.

Body
Responses
chevron-right
200

A specific tape drive.

application/json
put
/tape_drives/{tape_drive_serial}

Destroys a specific tape drive.

delete

API Key Scope: tape_drives / destroy

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
tape_drive_serialstringRequired

Serial, or name of tape drive.

Responses
delete
/tape_drives/{tape_drive_serial}
204

Tape drive destroyed.

No content

Display statistic for a specific tape drive.

get

API Key Scope: tape_drive_stats / show

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Path parameters
tape_drive_serialstringRequired

Serial, or name of tape drive.

Responses
chevron-right
200

A specific tape drive statistic.

application/json
log_timestringRead-onlyOptional
serialstringRead-onlyOptional
total_corrected_write_errorsintegerRead-onlyOptional
total_write_retriesintegerRead-onlyOptional
total_write_kbytes_processedintegerRead-onlyOptional
total_uncorrected_write_errorsintegerRead-onlyOptional
total_corrected_read_errorsintegerRead-onlyOptional
total_read_retriesintegerRead-onlyOptional
total_read_kbytes_processedintegerRead-onlyOptional
total_uncorrected_read_errorsintegerRead-onlyOptional
total_channel_write_bytesintegerRead-onlyOptional
total_device_write_bytesintegerRead-onlyOptional
total_device_read_bytesintegerRead-onlyOptional
total_channel_read_bytesintegerRead-onlyOptional
cleaning_requestedintegerRead-onlyOptional
total_mbytes_processed_since_cleaningintegerRead-onlyOptional
lifetime_load_cyclesintegerRead-onlyOptional
lifetime_cleaning_cyclesintegerRead-onlyOptional
lifetime_power_on_timeintegerRead-onlyOptional
lifetime_volume_loadsintegerRead-onlyOptional
lifetime_cleaning_operationsintegerRead-onlyOptional
lifetime_power_on_hoursintegerRead-onlyOptional
lifetime_medium_motionintegerRead-onlyOptional
lifetime_meters_of_tape_processedintegerRead-onlyOptional
lifetime_medium_motion_when_incompatible_medium_was_loadedintegerRead-onlyOptional
lifetime_power_on_hours_when_temperature_cond_occuredintegerRead-onlyOptional
lifetime_power_on_hours_when_power_consumption_cond_occuredintegerRead-onlyOptional
medium_motion_hours_last_success_cleaningintegerRead-onlyOptional
medium_motion_hours_second_success_cleaningintegerRead-onlyOptional
medium_motion_hours_third_success_cleaningintegerRead-onlyOptional
lifetime_power_on_emergency_eject_occuredintegerRead-onlyOptional
lifetime_power_cyclesintegerRead-onlyOptional
volume_loads_last_param_resetintegerRead-onlyOptional
hard_write_errorsintegerRead-onlyOptional
hard_read_errorsintegerRead-onlyOptional
read_duty_cycleintegerRead-onlyOptional
write_duty_cycleintegerRead-onlyOptional
activity_duty_cycleintegerRead-onlyOptional
volume_not_present_duty_cycleintegerRead-onlyOptional
ready_duty_cycleintegerRead-onlyOptional
accumulated_transitions_to_activeintegerRead-onlyOptional
accumulated_transitions_to_idleintegerRead-onlyOptional
get
/tape_drives/{tape_drive_serial}/tape_drive_stat

List all tape drive statistics.

get

API Key Scope: tape_drive_stats / index

Authorizations
AuthorizationstringRequired

Pass the username and password of a user in the authorization header. This currently gives full access.

Query parameters
limitintegerOptional

The number of items to display for pagination.

offsetintegerOptional

The number of items to skip for pagination.

Responses
chevron-right
200

List of tape drive statistics.

application/json
countintegerRead-onlyOptionalExample: 1
get
/tape_drive_stats

Last updated

Was this helpful?