List files
GET/openapi/2025-06/file
The Get File List API allows developers to retrieve a list of files stored on the server. This endpoint supports pagination and filtering based on the folder name.
Request
Query Parameters
The folder name to fetch files from. Defaults to "all_upload". Allowed values: -product - all_upload
Cursor for pagination
The number of files to retrieve per page. Defaults to 20 if not specified. Must be greater than 0 and less than or equal to 300
Page number (1-based). Mutually exclusive with cursor
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
error code
error message
data object
files object[]
The list of files
Upload file link
File uri
Folder
File size
File type
Origin link
File description
File aspect ratio
File width
File height
Time of creation
Time of update
The cursor for the next page of results
Whether there are more records
Total number of records across all pages (for page-mode pagination)
{
"code": "string",
"message": "string",
"data": {
"files": [
{
"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"
}
],
"cursor": "string",
"has_more": true,
"total": 0
}
}