List of Spare Group Details
Select
API to fetch information of Spare Groups of a particular type for a Storage
Path Parameters
- libraryId int32 required
Library ID of the Tape Storage
Query Parameters
- SpareGroupType required
Possible 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
]Get all spare groups of given SpareGroupType
- 200
- 400
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
spareGroupDetailsList object[]
{
"spareGroupDetailsList": [
{
"id": 0,
"name": "string",
"typeId": 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/storage/tape/:libraryid/sparegroups
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Tape/:libraryId/SpareGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Tape/:libraryId/SpareGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Tape/:libraryId/SpareGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Tape/:libraryId/SpareGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Tape/:libraryId/SpareGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Tape/:libraryId/SpareGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Tape/:libraryId/SpareGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'