Retrieve a file
GET
/v1/files/{id}请求参数
Path Params
id
string
required
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{
"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"
}
Last modified: 2 年前