跳到主要内容

create_signed_url

创建签名 URL,使用签名 URL 可以在固定时间内共享文件

声明

SignedUrlResponse create_signed_url(string file_path, int expires_in = 60)

参数

参数名描述
file_path文件路径,包括文件名。格式应为 folder/subfolder/filename.png
expires_in签名 URL 的过期时间(以秒为单位),默认为 60 秒

返回值

SignedUrlResponse 签名 URL 响应

使用方式

返回文档