接口地址:/webapi/container/relation/{containerId}/query
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
查询副本关联复制策略
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| containerId | 副本ID | path | true | integer(int64) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultListContainerRelationVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | 返回的数据 | array | ContainerRelationVo |
| containerId | 副本ID | integer(int64) | |
| planGroupId | 计划组ID | integer(int64) | |
| planGroupName | 计划组名称 | string | |
| planGroupType | 计划组类型 | integer(int32) | |
| isRelation | 是否已关联 | boolean | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": [
{
"containerId": 0,
"planGroupId": 0,
"planGroupName": "",
"planGroupType": 0,
"isRelation": true
}
],
"dataCount": 10
}