跳到主要内容
版本:202201

查询文件列表

GET 

/openapi/2022-01/file

分页返回文件列表。

请求

Query参数

    page int32

    Page number; Defaults to 1 if not specified. Must be a positive integer.

    默认值: 1
    limit int32

    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.

    默认值: 20
    folder string

    文件夹。

    默认值: product

响应

200

数据结构
    files object[]
  • Array [
  • upload_linkstring
    示例: https://cdn.shoplazza.com/7ebb4faa8d92e1d627edf9ca61a98993.png
    file_uristring
    示例: 7ebb4faa8d92e1d627edf9ca61a98993.png
    folderstring
    示例: upload
    sizeinteger
    默认值: 0
    示例: 6842
    typestring
    示例: image/png
    origin_linkstring
    示例:
    descstring
    示例:
    aspect_ratiostring
    示例: 1.2500000
    widthinteger
    默认值: 0
    示例: 250
    heightinteger
    默认值: 0
    示例: 200
    created_atstring
    示例: 2024-04-23T09:32:57+08:00
    updated_atstring
    示例: 2024-04-23T09:32:57+08:00
  • ]