Get Slot List for a Library
Select
Get the list of slot for given library.
Path Parameters
- libraryId int32 required
Id of Library
Query Parameters
- slotType required
Possible values: [
INVALID_SLOT
,REGULAR_SLOT
,MAIL_SLOT
,CAP_SLOT
]Filter slot list to given SlotTypes
- 200
- 400
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
slotList object[]
{
"slotList": [
{
"slot": {
"id": 0,
"name": "string"
},
"libraryId": 0,
"mediaId": 0,
"mediaDetails": {
"mediaId": 0,
"isExported": true,
"libraryId": 0,
"libraryName": "string",
"status": "string",
"barcode": "string",
"storagePolicy": {
"id": 0,
"name": "string"
},
"storagePolicyCopy": {
"id": 0,
"name": "string"
},
"slot": {
"id": 0,
"name": "string"
},
"container": {
"id": 0,
"name": "string"
},
"storedDataBytes": 0,
"lastWriteTime": 0,
"retainDataUntil": 0,
"spareGroup": {
"id": 0,
"name": "string"
},
"mediaType": {
"id": 0,
"name": "string"
},
"drive": {
"id": 0,
"name": "string"
},
"isInMediaGroup": true,
"guiMediaAttribute": 0
}
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
GET /v4/library/:libraryid/slot
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Library/:libraryId/Slot' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Library/:libraryId/Slot' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Library/:libraryId/Slot' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Library/:libraryId/Slot' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Library/:libraryId/Slot' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Library/:libraryId/Slot' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Library/:libraryId/Slot' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'