查询Zookeeper数据轨迹
接口功能介绍
查询Zookeeper数据轨迹列表
接口约束
无
URI
POST /v1/zookeeper/trace/list
路径参数
无
Query参数
无
请求参数
请求头header参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
regionId | 是 | String | 资源池 ID | d8bbd132b53a11e9b0e40242ac110002 |
请求体body参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
spuInstId | 是 | String | 实例ID | abc36594d0c44fd3a252e56c8e57e6c6 | |
startTime | 是 | String | 开始时间 | 2023-05-17 17:21:11 | |
endTime | 是 | String | 结束时间 | 2023-05-17 17:21:11 | |
path | 否 | String | 路径 | /node8 | |
sessionId | 否 | String | 会话ID | 72490368118947840 | |
pageNum | 否 | Integer | 页号 | 1 | |
pageSize | 否 | Integer | 每页数量 | 10 |
响应参数
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
statusCode | Integer | 返回状态码(2000成功,5000系统错误,18xxxx业务错误) | 1000 | |
error | String | 业务错误码,RCC_statusCode | RCC_1000 | |
message | String | 返回结果描述 | invalid param | |
returnObj | Object | 返回数据体 | returnObj |
表 returnObj
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
pageNumber | Integer | 页号 | 1 | |
totalCount | Integer | 数量 | 10 | |
pageItems | Array of Objects | 数据列表 | obj | |
pagesAvailable | Integer | 页数 | 10 |
表 obj
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
id | Long | 轨迹id | 1 | |
zid | String | 数据版本号 | 60 | |
sessionId | String | 会话ID | 72490368118947840 | |
type | String | 类型 | 4 | |
path | String | 路径 | /node8 | |
writeReadType | String | 读写类型 | 1 | |
pushId | String | 批次id | 1 | |
result | String | 操作结果 | 0 | |
acl | String | acl权限 | acl | |
status | String | 状态 | status | |
createTimestamp | String | 创建时间 | 2023-06-01 20:47:18 | |
updateTimestamp | String | 更新时间 | 2023-06-01 20:47:18 |
枚举参数
无
请求示例
请求url
无
请求头header
{"regionId": "d8bbd132b53a11e9b0e40242ac110002"}
请求体body
{"spuInstId": "abc36594d0c44fd3a252e56c8e57e6c6","startTime": "2023-05-17 17:21:11","endTime": "2025-05-30 17:21:11","path": "/node8","sessionId": "72490368118947840","pageNum": 1,"pageSize": 10}
响应示例
{"returnObj": {"totalCount": 2,"pageNumber": 1,"pagesAvailable": 1,"pageItems": [{"id": 1,"sessionId": "72490368118947840","type": "4","zid": "60","path": "/node8","writeReadType": "1","pushId": "1","result": "0","acl": "acl","status": "status","createTimestamp": "2023-06-01 20:47:15","updateTimestamp": "2023-06-01 20:47:15"},{"id": 2,"sessionId": "72490368118947840","type": "4","zid": "60","path": "/node8","writeReadType": "1","pushId": "1","result": "0","acl": "acl","status": "status","createTimestamp": "2023-06-01 20:47:18","updateTimestamp": "2023-06-01 20:47:18"}]},"error": "","message": "SUCCESS","statusCode": 2000}