接口地址:/webapi/job/findUsableContainers
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
查询可用副本
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| jobIds | query | true | array | integer |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultListBackupContainerVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | 返回的数据 | array | BackupContainerVo |
| containerGroupName | 服务计划/副本组 | string | |
| containerId | 副本ID | integer(int64) | |
| containerName | 副本名称 | string | |
| containerPrecedence | 副本类型 | integer(int32) | |
| repositoryName | 存储仓 | string | |
| period | Period | Period | |
| type | 保留类型 | integer(int32) | |
| fulls | 保留恢复点 | integer(int32) | |
| period | 保留天数 | integer(int32) | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": [
{
"containerGroupName": "",
"containerId": 0,
"containerName": "",
"containerPrecedence": 0,
"repositoryName": "",
"period": {
"type": 0,
"fulls": 0,
"period": 0
}
}
],
"dataCount": 10
}