Fetch DB2 Storage groups
Select
SaaS
Customer Managed
This operation is used to fetch all backed up DB2 storage groups of a DB2 Backupset.
Path Parameters
- BackupsetID integer required
ID of the backupset
Responses
- 200
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
groupInfo object
error object
{
"groupInfo": {
"storageGroup": [
{
"groupName": "string",
"stoPaths": [
"string"
]
}
]
},
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
{
"groupInfo": {
"storageGroup": [
{
"groupName": "IBMSTOGROUP",
"stoPaths": [
"/home/db2inst1"
]
}
]
},
"error": {
"errorMessage": "",
"errorCode": 0
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Internal Server Error
GET /backupset/:backupsetid/db2storagegroups
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Backupset/:BackupsetID/DB2StorageGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Backupset/:BackupsetID/DB2StorageGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Backupset/:BackupsetID/DB2StorageGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Backupset/:BackupsetID/DB2StorageGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Backupset/:BackupsetID/DB2StorageGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Backupset/:BackupsetID/DB2StorageGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Backupset/:BackupsetID/DB2StorageGroups' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'