跳到主要内容
版本:202201

查询文件 详情

GET 

/openapi/2022-01/file/:file_uri

Retrieve detailed metadata and access information about a specific file using its unique file_uri. This endpoint is commonly used to fetch file properties, such as the name, size, type, and access URL.

请求

Path参数

    file_uri string必填

    The unique identifier of the file. This must be a valid alphanumeric string representing the file’s URI.

响应

200

数据结构
    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.090041356+08:00
    updated_atstring
    示例: 2024-04-23T09:32:57.090041356+08:00