# 统计

# 查询所有统计值

# 请求 URL:

  • http://host:port/heycloud/api/base/stat/list

# 请求方式:

  • GET

# 请求 Header:

字段 类型 是否必选 说明
x-heycloud-admin-session String 通过 session 提供管理权限

# 请求示例:

GET http://host:port/heycloud/api/base/stat/list

# 正确响应示例:

{
  "result": [
    {
      "name": "vdataconnector.count",
      "intValue": "0",
      "floatValue": 0
    },
    { "name": "idataset.count", "intValue": "-1", "floatValue": 0 },
    { "name": "vdatastream.count", "intValue": "0", "floatValue": 0 },
    { "name": "vdataset.count", "intValue": "25", "floatValue": 0 },
    { "name": "account.count", "intValue": "1", "floatValue": 0 }
  ]
}

# 错误响应示例:

{
  "error": "Error",
  "message": "错误信息"
}