接口地址:/webapi/container/relation
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
副本关联复制策略
请求示例:
{
"userGroupId": 0,
"authType": 0,
"ignoreDataAuth": true,
"containerId": 0,
"planGroupIdList": []
}
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| userGroupId | 用户组ID | body | false | integer(int64) | |
| authType | 授权类型 | body | false | integer(int32) | |
| ignoreDataAuth | 忽略数据权限 | body | false | boolean | |
| containerId | 副本ID | body | true | integer(int64) | |
| planGroupIdList | 计划组ID数组 | body | false | array | integer(int64) |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultBoolean |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | 返回的数据 | boolean | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": true,
"dataCount": 10
}