POST
/
files
/
upload
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "size": 123,
  "extension": "<string>",
  "mime_type": "<string>",
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": 123
}

Authorizations

Authorization
string
header
required

API-Key 鉴权。所有 API 请求都应在 Authorization HTTP Header 中包含您的 API-Key,格式为:Bearer {API_KEY}。强烈建议开发者把 API-Key 放在后端存储,而非客户端,以免泄露。

Body

multipart/form-data

文件上传请求。需使用 multipart/form-data 进行请求。

The body is of type object.

Response

200
application/json

文件上传成功。

文件上传成功后的响应。