接口地址:/webapi/repository/{repositoryId}/action/query
请求方式:GET
请求数据类型:application/x-www-form-urlencoded
响应数据类型:*/*
接口描述:
查询库详细信息
请求参数:
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| repositoryId | 请求repositoryId数据 | path | true | integer(int32) | |
| requestId | 请求requestId数据 | query | true | string |
响应状态:
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | ResponseResultListRepositoryQueryVo |
响应参数:
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| message | 返回状态标记 | string | |
| statFlag | 返回状态 | integer(int32) | integer(int32) |
| dataInfo | 返回的数据 | array | RepositoryQueryVo |
| readWriteFlags | 读写标识 | integer(int32) | |
| deviceTypeId | 设备类型Id | integer(int32) | |
| usedSpaceInGB | 已使用空间 | integer(int64) | |
| storageNodeId | 存储节点Id | integer(int64) | |
| freeSize | 空闲大小 | integer(int64) | |
| maxUsedSpaceInGB | 最大可用空间 | integer(int64) | |
| deviceTypeName | 设备类型名称 | string | |
| freeSpaceInGB | 空闲空间 | integer(int64) | |
| deviceId | 设备Id | integer(int64) | |
| ssl | 是否启用ssl | integer(int32) | |
| deviceStatus | 设备状态 | integer(int32) | |
| totalSizeInGB | 总大小 | integer(int64) | |
| storageNodeStatusReason | 存储节点状态原因 | string | |
| nodeDeviceStatusReason | 存储节点设备状态原因 | string | |
| statusId | 状态id | integer(int32) | |
| size | 容量 | integer(int64) | |
| fullpath | 全路径 | string | |
| devicePath | 设备路径 | string | |
| nodeDeviceStatus | 节点设备状态 | integer(int32) | |
| storageNodeStatus | 存储节点状态 | integer(int32) | |
| storageNodeName | 存储节点名称 | string | |
| repositoryDeviceTypeId | 存储仓设备类型Id | integer(int32) | |
| endPoint | 设备endPoint | string | |
| bucketName | 设备bucketName | string | |
| dataCount | 返回数据条数 | integer(int32) | integer(int32) |
响应示例:
{
"message": "操作成功",
"statFlag": 0,
"dataInfo": [
{
"readWriteFlags": 0,
"deviceTypeId": 0,
"usedSpaceInGB": 0,
"storageNodeId": 0,
"freeSize": 0,
"maxUsedSpaceInGB": 0,
"deviceTypeName": "",
"freeSpaceInGB": 0,
"deviceId": 0,
"ssl": 0,
"deviceStatus": 0,
"totalSizeInGB": 0,
"storageNodeStatusReason": "",
"nodeDeviceStatusReason": "",
"statusId": 0,
"size": 0,
"fullpath": "",
"devicePath": "",
"nodeDeviceStatus": 0,
"storageNodeStatus": 0,
"storageNodeName": "",
"repositoryDeviceTypeId": 0,
"endPoint": "",
"bucketName": ""
}
],
"dataCount": 10
}