跳转到主要内容
POST
/
base
/
duplicate
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/base/duplicate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fromBaseId": "<string>",
  "spaceId": "<string>",
  "withRecords": true,
  "name": "<string>",
  "baseId": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "spaceId": "<string>"
}

授权

Authorization
string
header
必填

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

路径参数

baseId
string
必填

请求体

application/json
fromBaseId
string
必填

The base to duplicate

spaceId
string
必填

The space to duplicate the base to

withRecords
boolean

Whether to duplicate the records

name
string

The name of the duplicated base

baseId
string

响应

201 - application/json

Returns information about a successfully duplicated base.

id
string
必填
name
string
必填
spaceId
string
必填
Last modified on December 10, 2025