curl --request POST \
--url https://app.teable.ai/api/table/%7BtableId%7D/record/%7BrecordId%7D/duplicate \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"viewId":"string","anchorId":"string","position":"before"}'{
"records": [
{
"id": "recXXXXXXX",
"fields": {
"single line text": "text value"
}
}
]
}Create a copy of an existing record with optional custom positioning in the view.
curl --request POST \
--url https://app.teable.ai/api/table/%7BtableId%7D/record/%7BrecordId%7D/duplicate \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"viewId":"string","anchorId":"string","position":"before"}'{
"records": [
{
"id": "recXXXXXXX",
"fields": {
"single line text": "text value"
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://help.teable.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful duplicate
Array of record objects
Show child attributes
[
{
"id": "recXXXXXXX",
"fields": { "single line text": "text value" }
}
]此页面对您有帮助吗?