Version: 202506
Get file
GET/openapi/2025-06/file/detail/:file_uri
The Get File Details API allows developers to retrieve detailed information about a specific file stored on the server. This endpoint requires the unique identifier of the file.
Request
Path Parameters
file_uri stringrequired
The unique identifier of the file
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
file object
The file information
upload_linkstring
Upload file link
file_uristring
File uri
folderstring
Folder
sizeint32
File size
typestring
File type
origin_linkstring
Origin link
descstring
File description
aspect_ratiostring
File aspect ratio
widthint32
File width
heightint32
File height
created_atstring
Time of creation
updated_atstring
Time of update
{
"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"
}
}
}