接口地址:/webapi/backupobjectset/{backupobjectsetid}/action/modify
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
向ActiveMQQueue队列生产一个MQ消息,等待返回Mgr信息
请求示例:
{
"backupObjectSetName": "",
"streamCount": 0,
"backPlanType": 0,
"customPlan": 0,
"containerGroupId": 0,
"planGroupId": 0,
"fileIndex": "",
"backupContent": [],
"requestId": "",
"master": true
}
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| backupobjectsetid | 请求backupobjectsetid数据 | path | true | string | |
| backupObjectSetName | 备份对象集合名称 | body | true | string | |
| streamCount | 备份流数 | body | true | integer(int64) | |
| backPlanType | 备份计划类型 | body | true | integer(int32) | |
| customPlan | 自服务计划 | body | true | integer(int64) | |
| containerGroupId | 副本组id | body | true | integer(int64) | |
| planGroupId | 计划组id | body | true | integer(int64) | |
| fileIndex | 文件索引 | body | true | string | |
| backupContent | 备份路径 | body | true | array | object |
| requestId | 请求id | body | true | string | |
| master | body | false | boolean |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultResultVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | ResultVo | ResultVo | |
| errorCode | 错误码 | integer(int32) | |
| message | 响应信息 | string | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": {
"errorCode": 0,
"message": ""
},
"dataCount": 10
}