菜单

存储信息

下载

接口地址:/webapi/dashboard/getStorageInfoFromMysql
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:application/json;charset=UTF-8
接口描述:

查询存储空间信息


请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型 schema
requestId 请求requestId数据 query true string

响应状态:

状态码 说明 schema
200 OK ResponseResultListStorageInfoVo

响应参数:

参数名称 参数说明 类型 schema
message 返回状态标记 string
statFlag 返回状态 integer(int32) integer(int32)
dataInfo 返回的数据 array StorageInfoVo
  size 存储空间大小 integer(int64)
  usedSize 已使用空间大小 integer(int64)
  dbName 数据库名称 string
  storageType 存储类型 integer(int32)
  fullBackupTime 备份时间 integer(int64)
  storageId 存储ID integer(int64)
  storageName 存储名称 string
dataCount 返回数据条数 integer(int32) integer(int32)

响应示例:

复制代码
{
    "message": "操作成功",
    "statFlag": 0,
    "dataInfo": [
        {
            "size": 0,
            "usedSize": 0,
            "dbName": "",
            "storageType": 0,
            "fullBackupTime": 0,
            "storageId": 0,
            "storageName": ""
        }
    ],
    "dataCount": 10
}
分享文章
上一个
许可信息
下一个
存储使用详情
最近修改: 2024-11-18