Tape_libraries
API Key Scope: tape_libraries / index
The number of items to display for pagination.
The number of items to skip for pagination.
Sort results by attribute.
Can sort on multiple attributes, separated by |.
Order direction can be suffixing the attribute by either :asc (default) or :desc.
Filter on id
Filter on name
Filter on serial
Filter on comment
Filter on protocol
Filter on vendor
Filter on product
Filter on firmware
Filter on device
Filter on libso
Filter on acs
Filter on status
Filter on storage slots
Filter on storage slots address
Filter on io slots
Filter on io slots address
Filter on price
List of tape libraries.
GET /api/v2/tape_libraries HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of tape libraries.
{
"count": 1,
"tape_libraries": [
{
"serial": "C0F905D800A0_LL3",
"protocol": "scsi",
"vendor": "IBM",
"product": "3573-TL",
"firmware": "6.24",
"device": "/dev/sg9",
"acs": 1,
"storage_slots": 20,
"storage_slots_address": 1024,
"io_slots": 4,
"io_slots_address": 768,
"id": 2,
"name": "my-library",
"comment": "text",
"libso": "ibm_3573-tl",
"status": "online",
"ready": true,
"price": "5.0"
}
]
}API Key Scope: tape_libraries / create
A specific tape library.
The received resource was not correctly formatted.
POST /api/v2/tape_libraries HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 257
{
"protocol": "scsi",
"vendor": "IBM",
"product": "3573-TL",
"firmware": "6.24",
"device": "/dev/sg9",
"acs": 1,
"storage_slots": 20,
"storage_slots_address": 1024,
"io_slots": 4,
"io_slots_address": 768,
"name": "my-library",
"comment": "text",
"libso": "ibm_3573-tl",
"price": "5.0"
}{
"serial": "C0F905D800A0_LL3",
"protocol": "scsi",
"vendor": "IBM",
"product": "3573-TL",
"firmware": "6.24",
"device": "/dev/sg9",
"acs": 1,
"storage_slots": 20,
"storage_slots_address": 1024,
"io_slots": 4,
"io_slots_address": 768,
"id": 2,
"name": "my-library",
"comment": "text",
"libso": "ibm_3573-tl",
"status": "online",
"ready": true,
"price": "5.0"
}API Key Scope: tape_libraries / devices
ID of active job
List of tape libraries devices.
An active job that may be queued, working, completed or failed.
An active job that may be queued, working, completed or failed.
GET /api/v2/tape_libraries/-/devices HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
{
"tape_libraries": [
{
"serial": "C0F905D800A0_LL3",
"protocol": "scsi",
"vendor": "IBM",
"product": "3573-TL",
"firmware": "6.24",
"device": "/dev/sg9",
"acs": 1,
"storage_slots": 20,
"storage_slots_address": 1024,
"io_slots": 4,
"io_slots_address": 768
}
]
}API Key Scope: tape_libraries / show
Numeric ID, serial, or name of tape library.
A specific tape library.
GET /api/v2/tape_libraries/{tape_library_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific tape library.
{
"serial": "C0F905D800A0_LL3",
"protocol": "scsi",
"vendor": "IBM",
"product": "3573-TL",
"firmware": "6.24",
"device": "/dev/sg9",
"acs": 1,
"storage_slots": 20,
"storage_slots_address": 1024,
"io_slots": 4,
"io_slots_address": 768,
"id": 2,
"name": "my-library",
"comment": "text",
"libso": "ibm_3573-tl",
"status": "online",
"ready": true,
"price": "5.0"
}API Key Scope: tape_libraries / update
Numeric ID, serial, or name of tape library.
A specific tape library.
The received resource was not correctly formatted.
PUT /api/v2/tape_libraries/{tape_library_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 257
{
"protocol": "scsi",
"vendor": "IBM",
"product": "3573-TL",
"firmware": "6.24",
"device": "/dev/sg9",
"acs": 1,
"storage_slots": 20,
"storage_slots_address": 1024,
"io_slots": 4,
"io_slots_address": 768,
"name": "my-library",
"comment": "text",
"libso": "ibm_3573-tl",
"price": "5.0"
}{
"serial": "C0F905D800A0_LL3",
"protocol": "scsi",
"vendor": "IBM",
"product": "3573-TL",
"firmware": "6.24",
"device": "/dev/sg9",
"acs": 1,
"storage_slots": 20,
"storage_slots_address": 1024,
"io_slots": 4,
"io_slots_address": 768,
"id": 2,
"name": "my-library",
"comment": "text",
"libso": "ibm_3573-tl",
"status": "online",
"ready": true,
"price": "5.0"
}API Key Scope: tape_libraries / destroy
Numeric ID, serial, or name of tape library.
Tape library destroyed.
No content
DELETE /api/v2/tape_libraries/{tape_library_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Tape library destroyed.
No content
Last updated
Was this helpful?