cURL
curl --request POST \
--url 'https://app.teable.ai/api/attachments/notify/%7Btoken%7D?filename=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'{
"token": "xxxxxxxxxxx",
"size": 1024,
"url": "/bucket/xxxxx",
"path": "/table/xxxxxx",
"mimetype": "video/mp4",
"presignedUrl": "<string>",
"width": 100,
"height": 100
}attachments
Post attachmentsnotify
Get Attachment information
POST
/
attachments
/
notify
/
{token}
cURL
curl --request POST \
--url 'https://app.teable.ai/api/attachments/notify/%7Btoken%7D?filename=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'{
"token": "xxxxxxxxxxx",
"size": 1024,
"url": "/bucket/xxxxx",
"path": "/table/xxxxxx",
"mimetype": "video/mp4",
"presignedUrl": "<string>",
"width": 100,
"height": 100
}授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
路径参数
查询参数
响应
201 - application/json
Attachment information
Token for the uploaded file
示例:
"xxxxxxxxxxx"
File size in bytes
示例:
1024
URL of the uploaded file
示例:
"/bucket/xxxxx"
file path
示例:
"/table/xxxxxx"
MIME type of the uploaded file
示例:
"video/mp4"
Preview url
Image width of the uploaded file
示例:
100
Image height of the uploaded file
示例:
100
最后修改于 2026年3月5日
此页面对您有帮助吗?
⌘I

