功能介绍:查询当前分组中缓存key的数量
GET https://[endpoint].ctapi.ctyun.cn/v1/instanceManageMgrServant/describeDbKeyCount
Content-Type:application/ form-data
URI参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
prodInstId | 873894303586321408 | String | 是 | 实例ID |
groups | 0 | String | 是 | 支持分组名和db Number |
返回参数说明:(200)成功
参数名 | 示例值 | 参数类型 | 参数描述 |
code | core.ok | String | 响应码描述 |
returnObj | Map<String,Object> | 响应对象,数据见returnObj | |
message | success | String | 响应信息 |
statusCode | 800 | int | 响应状态码 |
returnObj
参数名 | 示例值 | 参数类型 | 参数描述 |
total | 1 | int | 数量 |
rows | Map<String,String > | ||
rows.groupName | group.865193666094826496.test2 | String | 分组名称 |
rows.keyNumber | 2 | String | key数量 |
请求示例:
GET https://dcs2-global.ctapi.ctyun.cn/v1/instanceManageMgrServant/describeDbKeyCount?prodInstId=873894303586321408&groups=0
返回示例:
{ "code": "core.ok", "returnObj": { "total": 1, "rows": [ { "groupName": "group.865193666094826496.test2", "keyNumber": "2" }] }, "message": "success", "statusCode": 800 } |