跳转到主要内容
POST
/
base
/
{baseId}
/
app
/
{appId}
/
import-code
cURL
curl --request POST \
  --url https://app.teable.ai/api/base/%7BbaseId%7D/app/%7BappId%7D/import-code \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: multipart/form-data' \
  --form file=null
{
  "version": 123,
  "filesCount": 123
}

授权

Authorization
string
header
必填

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

路径参数

baseId
string
必填
appId
string
必填

请求体

multipart/form-data
file
any | null

ZIP file containing source code

响应

200 - application/json

Source code imported successfully

version
number
必填
filesCount
number
必填
Last modified on March 5, 2026