attachments
POST /attachments/signature
Retrieve upload signature.
Request
- Base URLhttps://app.teable.ai/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"contentType": "image/png",
"contentLength": 123,
"expiresIn": 3600,
"hash": "xxxxxxxx",
"type": 1
}Response
return the upload URL and the key.
Example response
{
"url": "https://example.com/attachment/upload",
"uploadMethod": "POST",
"token": "xxxxxxxx",
"requestHeaders": {
"Content-Type": "image/png"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.