Retrieve a file
GET
/v1/files/{id}请求参数
Path 参数
id
string
必需
示例代码
返回响应
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"id": "file_xxxxxxxxxxxxxx",
"object": "file",
"created": 1668769862,
"expires_at": 1692097862,
"filename": "file_1M5STK2EY01RxH3nPvxSLxzH",
"purpose": "dispute_evidence",
"size": 9863,
"title": null,
"type": "png",
"url": "https://files.com"
}
最后修改时间: 2 年前