Discover DB2 Instances
This operation is used to discover all DB2 instances and the DB2 Backupsets inside a DB2 instance of a Client.
Path Parameters
- ClientID integer required
ID of the Client
Query Parameters
- instanceId integer
Add ID of the instance to discover all backupset present inside a DB2 instance
- instanceName string
Add Name of the instance if instance Id is given
Responses
- 200
- 400
- 401
- 405
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
error object
{
"error": {
"errorString": "string",
"errorCode": 0
}
}
{
"error": {
"errorString": "",
"errorCode": 0
}
}
Bad Request
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Method Not Allowed
GET /client/:clientid/discoverdb2instances
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Client/:ClientID/DiscoverDB2Instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Client/:ClientID/DiscoverDB2Instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Client/:ClientID/DiscoverDB2Instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Client/:ClientID/DiscoverDB2Instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Client/:ClientID/DiscoverDB2Instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Client/:ClientID/DiscoverDB2Instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Client/:ClientID/DiscoverDB2Instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'