Browse contents of a DB2 Backupset
Select
SaaS
Customer Managed
This operation is used to fetch all tablespaces that are backed up for a DB2 Backupset
Path Parameters
- InstanceID integer required
ID of the instance
- application/json
Request Body
entity object
- path string
- pointInTime integer
lists all tablespaces already backed up at or before this particular time stamp
- options integer
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
oracleContent object[]
{
"oracleContent": [
{
"tableSpace": "string",
"fileType": 0
}
]
}
{
"oracleContent": [
{
"tableSpace": "SYSCATSPACE",
"fileType": 5
},
{
"tableSpace": "SYSTOOLSPACE",
"fileType": 5
},
{
"tableSpace": "TEMPSPACE1",
"fileType": 5
},
{
"tableSpace": "USERSPACE1",
"fileType": 5
},
{
"tableSpace": "USERSPACE4",
"fileType": 5
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
POST /instance/dbbrowse/:instanceid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/DBBrowse/:InstanceID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "DB2",
"backupsetName": "string",
"applicationId": 62,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string"
},
"path": "string",
"pointInTime": 0,
"options": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/DBBrowse/:InstanceID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "DB2",
"backupsetName": "string",
"applicationId": 62,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string"
},
"path": "string",
"pointInTime": 0,
"options": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/DBBrowse/:InstanceID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "DB2",
"backupsetName": "string",
"applicationId": 62,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string"
},
"path": "string",
"pointInTime": 0,
"options": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/DBBrowse/:InstanceID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "DB2",
"backupsetName": "string",
"applicationId": 62,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string"
},
"path": "string",
"pointInTime": 0,
"options": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/DBBrowse/:InstanceID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "DB2",
"backupsetName": "string",
"applicationId": 62,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string"
},
"path": "string",
"pointInTime": 0,
"options": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/DBBrowse/:InstanceID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "DB2",
"backupsetName": "string",
"applicationId": 62,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string"
},
"path": "string",
"pointInTime": 0,
"options": 0
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/DBBrowse/:InstanceID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"entity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "DB2",
"backupsetName": "string",
"applicationId": 62,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
},
"isDefaultBackupSet": true,
"entityName": "string"
},
"path": "string",
"pointInTime": 0,
"options": 0
}'