跳到主要内容
版本:202506

查询文件详情

GET 

/openapi/2025-06/file/detail/:file_uri

获取服务器上指定文件的详细信息。

请求

Path参数

    file_uri string必填

    文件 URI

响应

OK

数据结构
    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

    更新时间