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[]
slot object
id int32name stringslotTypePossible values: [
INVALID_SLOT
,REGULAR_SLOT
,MAIL_SLOT
,CAP_SLOT
]Enum to filter the slot list based on given type
libraryId int32Id of Library
mediaId int32Id of Media
mediaDetails object
Details of Media
mediaId int32Id of Media
isExported booleanIndicates whether media is exported or in library
libraryId int32Id of Library
libraryName stringName of Library
status stringStatus of media
barcode stringBarcode label on media
storagePolicy object
id int32name stringstoragePolicyCopy object
id int32name stringslot object
id int32name stringcontainer object
id int32name stringstoredDataBytes int64The amount of stored data in media
lastWriteTime int64The date and time when the last write occurred on media
retainDataUntil int64The date and time until the data should be retained
spareGroup object
id int32name stringspareGroupTypePossible values: [
REGULAR_SPARE_GROUP
,DEFAULT_SPARE_GROUP
,UNIDENTIFIED_GROUP
,DEPRECATED_GROUP
,FOREIGN_GROUP
,CLEANING_GROUP
,OVERWRITE_PROTECT_GROUP
,CATALOG_GROUP
,REGULAR_AND_DEFAULT_SPARE_GROUP
]Spare group type of a group from which media belongs
mediaType object
id int32name stringdrive object
id int32name stringisInMediaGroup booleanIndicates whether media is assigned or not.
guiMediaAttribute int64Attributes of Media
{
"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"
}