文档
测试

概览数据操作信息

GET
/api/v1/stats/dataOperStats

接口描述

概览系统管理员/数据管理员下的数据用户的数据操作信息,包括各种数据操作类型的数量(柱状图或饼图)、总数量、成功比例、失败数量及原因分布

请求头

参数名
类型
描述
必填
Authorization
string
访问令牌
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:Success
必填
data
object
数据字典
必填
totalCount
int
总数量。示例:63
必填
eachOperTypeList
array
数据操作类型数据列表
必填
failCount
int
失败数量。示例:0
必填
failSeasonList
array
失败原因分布。数据列表
必填
_id
string
失败原因
可选
count
Integer
数量
可选
successRatio
string
成功比例。示例:1
必填
operType
int
数据操作类型。1:写数 2:更新 3:删除 4:查询 5:转移数据 6:铸造NFT
必填
totalCount
int
operType对应的数量
必填

说明 / 示例

返回示例: ``` { "code": 0, "msg": "Success", "data": { "totalCount": 63, "eachOperTypeList": [ { "failCount": 0, "failSeasonList": [], "successRatio": "1", "operType": 5, "totalCount": 3 }, { "failCount": 0, "failSeasonList": [], "successRatio": "1", "operType": 1, "totalCount": 37 }, { "failCount": 0, "failSeasonList": [], "successRatio": "1", "operType": 6, "totalCount": 11 }, { "failCount": 0, "failSeasonList": [], "successRatio": "1", "operType": 2, "totalCount": 4 }, { "failCount": 0, "failSeasonList": [], "successRatio": "1", "operType": 3, "totalCount": 4 } ] } } ```