文档
测试

概览数据信息

GET
/api/v1/stats/dataStoreStats

接口描述

概览系统管理员/数据管理员下的数据用户的数据信息,包括数据数量、数据版本数量、分流到各条链的占比及数量(饼图)

请求头

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

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:Success
必填
data
object
数据字典
必填
dataVersionSum
int
数据版本数量。示例:41
必填
eachChainList
array
分流到各条链的占比及数量。数据列表
必填
_id
int
存储目标位置。1:本系统 MongoDB 2: Filecoin 3:Sol 4:Matic
必填
count
int
分流数量。示例:41
必填
ratio
string
占比。示例:1
必填
dataStoreCount
int
数据数量。示例:41
必填

说明 / 示例

返回示例: ``` { "code": 0, "msg": "Success", "data": { "dataVersionSum": 41, "eachChainList": [ { "_id": 2, "count": 41, "ratio": "1" } ], "dataStoreCount": 41 } } ```