2025-09-07 22:03:28 +08:00
|
|
|
{
|
|
|
|
|
"swagger": "2.0",
|
|
|
|
|
"info": {
|
2025-09-20 16:49:02 +08:00
|
|
|
"title": "disk.proto",
|
2025-09-07 22:03:28 +08:00
|
|
|
"version": "version not set"
|
|
|
|
|
},
|
|
|
|
|
"tags": [
|
|
|
|
|
{
|
2025-09-20 16:49:02 +08:00
|
|
|
"name": "Disk"
|
2025-09-07 22:03:28 +08:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"consumes": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"produces": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"paths": {},
|
|
|
|
|
"definitions": {
|
2025-09-20 16:49:02 +08:00
|
|
|
"cloudDirTreeResponse": {
|
2025-09-08 16:56:48 +08:00
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
2025-09-20 16:49:02 +08:00
|
|
|
"list": {
|
2025-09-08 16:56:48 +08:00
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
2025-09-20 16:49:02 +08:00
|
|
|
"$ref": "#/definitions/cloudUserFile"
|
|
|
|
|
},
|
|
|
|
|
"title": "只返回文件夹"
|
2025-09-08 16:56:48 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"cloudEmpty": {
|
|
|
|
|
"type": "object"
|
2025-09-07 22:03:28 +08:00
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"cloudFile": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
2025-09-20 16:49:02 +08:00
|
|
|
"identity": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "string",
|
|
|
|
|
"title": "唯一标识"
|
|
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"path": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "string",
|
2025-09-20 16:49:02 +08:00
|
|
|
"title": "文件路径"
|
2025-09-07 22:03:28 +08:00
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"size": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "string",
|
|
|
|
|
"format": "int64",
|
2025-09-20 16:49:02 +08:00
|
|
|
"title": "文件大小,单位:B"
|
2025-09-07 22:03:28 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"cloudListResponse": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
2025-09-20 16:49:02 +08:00
|
|
|
"list": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
2025-09-20 16:49:02 +08:00
|
|
|
"$ref": "#/definitions/cloudUserFile"
|
|
|
|
|
}
|
2025-09-07 22:03:28 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"cloudMakeResponse": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
2025-09-20 16:49:02 +08:00
|
|
|
"identity": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"cloudParseShareResponse": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
2025-09-20 16:49:02 +08:00
|
|
|
"list": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
2025-09-20 16:49:02 +08:00
|
|
|
"$ref": "#/definitions/cloudUserFile"
|
2025-09-07 22:03:28 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"cloudShareResponse": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"key": {
|
2025-09-20 16:49:02 +08:00
|
|
|
"type": "string",
|
|
|
|
|
"title": "解析分享内容关键key"
|
2025-09-07 22:03:28 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"cloudUserFile": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"identity": {
|
|
|
|
|
"type": "string",
|
2025-09-20 16:49:02 +08:00
|
|
|
"title": "唯一标识"
|
2025-09-07 22:03:28 +08:00
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"name": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "string",
|
2025-09-20 16:49:02 +08:00
|
|
|
"title": "文件/文件夹名称"
|
2025-09-07 22:03:28 +08:00
|
|
|
},
|
2025-09-20 16:49:02 +08:00
|
|
|
"ext": {
|
2025-09-07 22:03:28 +08:00
|
|
|
"type": "string",
|
2025-09-20 16:49:02 +08:00
|
|
|
"title": "后缀,文件夹时为空"
|
|
|
|
|
},
|
|
|
|
|
"parent": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"title": "父级文件夹序列,按文件名称查询时候生效"
|
|
|
|
|
},
|
|
|
|
|
"file": {
|
|
|
|
|
"$ref": "#/definitions/cloudFile",
|
|
|
|
|
"title": "文件信息"
|
|
|
|
|
},
|
|
|
|
|
"createdAt": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"updatedAt": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"children": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"$ref": "#/definitions/cloudUserFile"
|
|
|
|
|
},
|
|
|
|
|
"title": "子文件夹"
|
2025-09-07 22:03:28 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"protobufAny": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"@type": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"additionalProperties": {}
|
|
|
|
|
},
|
|
|
|
|
"rpcStatus": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"code": {
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"format": "int32"
|
|
|
|
|
},
|
|
|
|
|
"message": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"details": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"$ref": "#/definitions/protobufAny"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|