版本:202607
查询文件详情
GET/openapi/2026-07/file/detail/:file_uri
获取服务器上指定文件的详细信息。
请求
Path参数
file_uri string必填
文件 URI
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
codestring
错误码
messagestring
错误信息
data object
file object
文件
upload_linkstring
上传文件链接
file_uristring
文件 URI
folderstring
文件夹
sizeint32
文件大小
typestring
文件类型
origin_linkstring
原始链接
descstring
文件描述
aspect_ratiostring
文件宽高比
widthint32
文件宽度
heightint32
文件高度
created_atstring
创建时间
updated_atstring
更新时间
{
"code": "string",
"message": "string",
"data": {
"file": {
"upload_link": "string",
"file_uri": "string",
"folder": "string",
"size": 0,
"type": "string",
"origin_link": "string",
"desc": "string",
"aspect_ratio": "string",
"width": 0,
"height": 0,
"created_at": "string",
"updated_at": "string"
}
}
}