接口地址:/webapi/client/{clientId}/action/modify
请求方式:POST
请求数据类型:application/x-www-form-urlencoded,application/json
响应数据类型:*/*
接口描述:
向ActiveMQQueue队列生产一个MQ消息,等待返回Mgr信息
请求示例:
{
"clientId": 0,
"clientName": "",
"clientIp": "",
"enableBackup": 0,
"enableRecover": 0,
"requestId": "",
"token": "",
"status": 0,
"indexCacheDirectory": "",
"concurrentThreshold": "",
"logPath": ""
}
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| clientId | 请求clientId数据 | path | true | integer(int32) | |
| clientId | 客户端id | false | integer(int32) | ||
| clientName | 客户端名称 | false | string | ||
| clientIp | 客户端IP | false | string | ||
| enableBackup | 启用备份 | false | integer(int32) | ||
| enableRecover | 启用恢复 | false | integer(int32) | ||
| requestId | 请求id | false | string | ||
| token | token | false | string | ||
| status | 状态 | false | integer(int32) | ||
| indexCacheDirectory | 索引缓存目录 | false | string | ||
| concurrentThreshold | 并发阈值 | false | string | ||
| logPath | 日志路径 | false | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultClientModifyResultVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | ClientModifyResultVo | ClientModifyResultVo | |
| errorCode | 错误码 | integer(int32) | |
| result | 响应信息 | string | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": {
"errorCode": 0,
"result": ""
},
"dataCount": 10
}