FetchTapeDetails
Fetches tape details based on the tape library Id provided
Path Parameters
- libraryId int32 required
Id of the library to view the data
Responses
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
- manufacturer string
library manufacturer.
- model string
library model.
- firmwareRevision string
library firmware revision.
- barcodeReader boolean
library bar code.
- serialNumber string
library serial number.
- libraryType int32
library type.
- status object
drives object[]
storage object[]
{
"id": 0,
"name": "string",
"manufacturer": "string",
"model": "string",
"firmwareRevision": "string",
"barcodeReader": true,
"serialNumber": "string",
"libraryType": 0,
"status": {},
"drives": [
{
"id": 0,
"name": "string",
"type": "string",
"online": "string",
"status": "string",
"barCode": "string",
"mountStatus": "MEDIA_MOUNTED",
"activeMediaAgent": "string",
"driveAttributes": 0
}
],
"storage": [
{
"id": 0,
"name": "string",
"online": "string",
"type": "string"
}
]
}
Requested Details not found
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v4/storage/tape/:libraryid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Tape/:libraryId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Tape/:libraryId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Tape/:libraryId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Tape/:libraryId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Tape/:libraryId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Tape/:libraryId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Tape/:libraryId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'