Quick Start
API List
- record
- space
- base
- POSTPost base
- GETGet base
- DELDelete base
- PATCHPatch base
- PUTPut base order
- GETGet baseaccessall
- GETGet base collaborators
- DELDelete base collaborators
- PATCHPatch base collaborators
- POSTPost baseduplicate
- POSTPost basecreate from template
- GETGet base permission
- GETGet base query
- GETGet base invitationlink
- POSTPost base invitationlink
- DELDelete base invitationlink
- PATCHPatch base invitationlink
- POSTPost base invitationemail
- GETGet baseshared base
- DELDelete base permanent
- POSTPost base collaborator
- GETGet base export
- POSTimport a base
- GETGet space base
- DELDelete trashreset items
- POST
- view
- API Reference
- dashboard
- plugin
- attachments
- admin
- trash
- field
- aggregation
- table
- selection
- plan
- user
- auth
- db-connection
- invitation
- share
- notification
- access-token
- import
- export
- pin
- billing
- usage
- oauth
- comment
- organization
- ai
- integrity
- plugin-panel
- plugin-context-menu
- template
- automation
- authority-matrix
- enterprise
- space-manage
base
import a base
base
import a base
import a base
POST
/
base
/
import
curl --request POST \
--url https://app.teable.cn/api/base/import \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"notify":{"token":"xxxxxxxxxxx","size":1024,"url":"/bucket/xxxxx","path":"/table/xxxxxx","mimetype":"video/mp4","width":100,"height":100,"presignedUrl":"string"},"spaceId":"string"}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Token for the uploaded file
Example:
"xxxxxxxxxxx"
File size in bytes
Example:
1024
URL of the uploaded file
Example:
"/bucket/xxxxx"
file path
Example:
"/table/xxxxxx"
MIME type of the uploaded file
Example:
"video/mp4"
Preview url
Image width of the uploaded file
Example:
100
Image height of the uploaded file
Example:
100
Response
200
import successfully
curl --request POST \
--url https://app.teable.cn/api/base/import \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"notify":{"token":"xxxxxxxxxxx","size":1024,"url":"/bucket/xxxxx","path":"/table/xxxxxx","mimetype":"video/mp4","width":100,"height":100,"presignedUrl":"string"},"spaceId":"string"}'