Tapes

(By tape library) Lists all tapes.

get

API Key Scope: tapes / 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

pool_idstringOptional

Filter on a pool id

barcodestringOptional

Filter on barcode

locationstringOptional

Filter on location

typestringOptional

Filter on type

lockedstringOptional

Filter on locked

scratchstringOptional

Filter on scratch

cleaningstringOptional

Filter on cleaning

write_protectstringOptional

Filter on write protect

mountedstringOptional

Filter on mounted

ejectedstringOptional

Filter on ejected

knownstringOptional

Filter on known

mount_countstringOptional

Filter on mount count

date_instringOptional

Filter on date in

date_movestringOptional

Filter on date move

freestringOptional

Filter on free

maxstringOptional

Filter on max

last_size_updatestringOptional

Filter on last size update

last_maintenancestringOptional

Filter on last maintenance

last_repackstringOptional

Filter on last repack

repack_statusstringOptional

Filter on repack status

force_import_typestringOptional

Filter on force import type

need_to_checkstringOptional

Filter on need to check

Responses
chevron-right
200

List of tapes.

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

List of tapes.

(By pool) Lists all tapes.

get

API Key Scope: tapes / index

Authorizations
AuthorizationstringRequired

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

Path parameters
pool_idstringRequired

Numeric ID, or name of pool.

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

barcodestringOptional

Filter on barcode

locationstringOptional

Filter on location

typestringOptional

Filter on type

lockedstringOptional

Filter on locked

scratchstringOptional

Filter on scratch

cleaningstringOptional

Filter on cleaning

write_protectstringOptional

Filter on write protect

mountedstringOptional

Filter on mounted

ejectedstringOptional

Filter on ejected

knownstringOptional

Filter on known

mount_countstringOptional

Filter on mount count

date_instringOptional

Filter on date in

date_movestringOptional

Filter on date move

freestringOptional

Filter on free

maxstringOptional

Filter on max

last_size_updatestringOptional

Filter on last size update

last_maintenancestringOptional

Filter on last maintenance

last_repackstringOptional

Filter on last repack

repack_statusstringOptional

Filter on repack status

force_import_typestringOptional

Filter on force import type

need_to_checkstringOptional

Filter on need to check

Responses
chevron-right
200

List of tapes.

application/json
countintegerRead-onlyOptionalExample: 1
get
/pools/{pool_id}/tapes
200

List of tapes.

Lists all tapes.

get

API Key Scope: tapes / 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.

has_locationsbooleanOptional

If set, only includes tapes that have/don't have any location.

idstringOptional

Filter on id

tape_library_idstringOptional

Filter on tape library id

pool_idstringOptional

Filter on a pool id

barcodestringOptional

Filter on barcode

locationstringOptional

Filter on location

typestringOptional

Filter on type

lockedstringOptional

Filter on locked

scratchstringOptional

Filter on scratch

cleaningstringOptional

Filter on cleaning

write_protectstringOptional

Filter on write protect

mountedstringOptional

Filter on mounted

ejectedstringOptional

Filter on ejected

knownstringOptional

Filter on known

mount_countstringOptional

Filter on mount count

date_instringOptional

Filter on date in

date_movestringOptional

Filter on date move

freestringOptional

Filter on free

maxstringOptional

Filter on max

last_size_updatestringOptional

Filter on last size update

last_maintenancestringOptional

Filter on last maintenance

last_repackstringOptional

Filter on last repack

repack_statusstringOptional

Filter on repack status

force_import_typestringOptional

Filter on force import type

need_to_checkstringOptional

Filter on need to check

Responses
chevron-right
200

List of tapes.

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

List of tapes.

Displays a specific tape.

get

API Key Scope: tapes / show

Authorizations
AuthorizationstringRequired

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

Path parameters
tape_idstringRequired

Numeric ID, or barcode of tape.

Responses
chevron-right
200

A specific tape.

application/json
idinteger · int64Read-onlyOptionalExample: 10
tape_library_idinteger · int64Read-onlyOptionalExample: 2
pool_idintegerRead-onlyOptionalExample: 6
barcodestringRead-onlyOptionalExample: NOD407L5
locationstringRead-onlyOptionalExample: Slot 2
typestring · enumRead-onlyOptionalExample: data_lto5Possible values:
lockedintegerRead-onlyOptional
scratchintegerRead-onlyOptional
cleaningintegerRead-onlyOptional
mountedintegerRead-onlyOptional
ejectedintegerRead-onlyOptional
knownintegerRead-onlyOptional
mount_countintegerRead-onlyOptional
date_instring · date-timeRead-onlyOptional
date_movestring · date-timeRead-onlyOptional
freeinteger · int64Read-onlyOptional
maxinteger · int64Read-onlyOptional
last_size_updatestring · date-timeRead-onlyOptional
last_maintenancestring · date-timeRead-onlyOptional
last_repackstring · date-timeRead-onlyOptional
repack_statusintegerRead-onlyOptional
force_import_typeintegerRead-onlyOptional
need_to_checkintegerRead-onlyOptional
get
/tapes/{tape_id}

Destroys a specific tape. Only when it's an orphan.

delete

API Key Scope: tapes / destroy

Authorizations
AuthorizationstringRequired

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

Path parameters
tape_idstringRequired

Numeric ID, or barcode of tape.

Responses
delete
/tapes/{tape_id}
204

Tape destroyed.

No content

Get mount status of Tape.

get

API Key Scope: tapes / mount_status

Authorizations
AuthorizationstringRequired

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

Path parameters
tape_idstringRequired

Numeric ID, or barcode of tape.

Responses
chevron-right
200

Mount status of storage.

application/json
mountedbooleanRead-onlyOptionalExample: true
messagestringRead-onlyOptional
get
/tapes/{tape_id}/mount

Display statistic for a specific tape.

get

API Key Scope: tape_stats / show

Authorizations
AuthorizationstringRequired

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

Path parameters
tape_idstringRequired

Numeric ID, or barcode of tape.

Responses
chevron-right
200

A specific tape statistic.

application/json
log_timestringRead-onlyOptional
barcodestringRead-onlyOptional
mountsintegerRead-onlyOptional
datasets_writtenintegerRead-onlyOptional
datasets_readintegerRead-onlyOptional
recovered_write_data_errorsintegerRead-onlyOptional
unrecovered_write_data_errorsintegerRead-onlyOptional
write_servo_errorsintegerRead-onlyOptional
unrecovered_write_servo_errorsintegerRead-onlyOptional
recovered_read_errorsintegerRead-onlyOptional
unrecovered_read_errorsintegerRead-onlyOptional
last_mount_unrecovered_write_errorsintegerRead-onlyOptional
last_mount_unrecovered_read_errorsintegerRead-onlyOptional
last_mount_mbytes_writtenintegerRead-onlyOptional
last_mount_mbytes_readintegerRead-onlyOptional
lifetime_mbytes_writtenintegerRead-onlyOptional
lifetime_mbytes_readintegerRead-onlyOptional
last_load_write_compression_ratiointegerRead-onlyOptional
last_load_read_compression_ratiointegerRead-onlyOptional
medium_mount_timeintegerRead-onlyOptional
medium_ready_timeintegerRead-onlyOptional
total_native_capacityintegerRead-onlyOptional
total_used_native_capacityintegerRead-onlyOptional
write_protectintegerRead-onlyOptional
wormintegerRead-onlyOptional
beginning_of_medium_passesintegerRead-onlyOptional
middle_of_tape_passesintegerRead-onlyOptional
read_compression_ratiointegerRead-onlyOptional
write_compression_ratiointegerRead-onlyOptional
mbytes_transferred_to_app_clientintegerRead-onlyOptional
bytes_transferred_to_app_clientintegerRead-onlyOptional
mbytes_read_from_mediumintegerRead-onlyOptional
bytes_read_from_mediumintegerRead-onlyOptional
mbytes_transferred_from_app_clientintegerRead-onlyOptional
bytes_transferred_from_app_clientintegerRead-onlyOptional
mbytes_written_to_mediumintegerRead-onlyOptional
bytes_written_to_mediumintegerRead-onlyOptional
data_compression_enabledintegerRead-onlyOptional
partition_0_remaining_capacityintegerRead-onlyOptional
partition_1_remaining_capacityintegerRead-onlyOptional
partition_0_maximum_capacityintegerRead-onlyOptional
partition_1_maximum_capacityintegerRead-onlyOptional
get
/tapes/{tape_id}/tape_stat

List all tape statistics.

get

API Key Scope: tape_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 statistics.

application/json
countintegerRead-onlyOptionalExample: 1
get
/tape_stats

Last updated

Was this helpful?