跳转到主要内容
POST
cURL

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

token
string
必填

查询参数

filename
string

响应

201 - application/json

Attachment information

token
string
必填

Token for the uploaded file

示例:

"xxxxxxxxxxx"

size
number
必填

File size in bytes

示例:

1024

url
string
必填

URL of the uploaded file

示例:

"/bucket/xxxxx"

path
string
必填

file path

示例:

"/table/xxxxxx"

mimetype
string
必填

MIME type of the uploaded file

示例:

"video/mp4"

presignedUrl
string
必填

Preview url

width
number

Image width of the uploaded file

示例:

100

height
number

Image height of the uploaded file

示例:

100

最后修改于 2026年3月5日