接口地址:/webapi/db/listBOS
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
查询备份对象集合
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| requestId | 请求requestId数据 | query | true | string | |
| clientId | 请求clientId数据 | query | true | integer(int64) | |
| instanceId | 请求instanceId数据 | query | true | integer(int64) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultListListDatabaseInstanceBackupObjectVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | 返回的数据 | array | DatabaseInstanceBackupObjectVo |
| backupAgentId | 备份代理ID | integer(int32) | |
| backupObjectSetId | 备份集ID | integer(int64) | |
| backupObjectSetName | 备份集名称 | string | |
| clientId | 客户端Id | integer(int64) | |
| clientName | 客户端名称 | string | |
| containerGroupId | 容器组ID | integer(int64) | |
| containerGroupName | 容器组名称 | string | |
| instanceId | 实例ID | integer(int64) | |
| instanceName | 实例名称 | string | |
| flags | flags | integer(int32) | |
| isBackupEnable | 是否开启备份 | integer(int32) | |
| isRestoreEnable | 是否开启恢复 | integer(int32) | |
| isDeleteBinLog | 是否删除binlog | integer(int32) | |
| lastBackupSize | 最后备份大小 | integer(int64) | |
| lastBackupTime | 最后备份时间 | integer(int64) | |
| path | 备份集内容集合 | array | string |
| oracleHomePath | OracleHomePath | array | object |
| dbName | damengDBName | string | |
| planGroupId | 计划组ID | integer(int64) | |
| planGroupName | 计划组名称 | string | |
| settings | dm备份集配置 | object | |
| servicePlanId | 服务计划ID | integer(int64) | |
| backupType | backupType | integer(int32) | |
| planType | 计划类型 | integer(int32) | |
| streamCount | 流大小 | integer(int32) | |
| backupModel | 备份模式 | integer(int32) | |
| dmpath | array | object | |
| plan | 服务计划名称 | string | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": [
{
"backupAgentId": 0,
"backupObjectSetId": 0,
"backupObjectSetName": "",
"clientId": 0,
"clientName": "",
"containerGroupId": 0,
"containerGroupName": "",
"instanceId": 0,
"instanceName": "",
"flags": 0,
"isBackupEnable": 0,
"isRestoreEnable": 0,
"isDeleteBinLog": 0,
"lastBackupSize": 0,
"lastBackupTime": 0,
"path": [],
"oracleHomePath": [],
"dbName": "",
"planGroupId": 0,
"planGroupName": "",
"settings": {},
"servicePlanId": 0,
"backupType": 0,
"planType": 0,
"streamCount": 0,
"backupModel": 0,
"dmpath": [],
"plan": ""
}
],
"dataCount": 10
}