curl --request PATCH \
--url https://app.teable.ai/api/table/%7BtableId%7D/selection/temporaryPaste \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"viewId":"viwXXXXXXX","ranges":[[0,0],[1,1]],"projection":["string"],"ignoreViewQuery":"string","content":"John\tDoe\tjohn.doe@example.com","header":[]}'[
{
"fields": {}
}
]Preview paste operation results
Preview the results of a paste operation without applying changes to the table
curl --request PATCH \
--url https://app.teable.ai/api/table/%7BtableId%7D/selection/temporaryPaste \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"viewId":"viwXXXXXXX","ranges":[[0,0],[1,1]],"projection":["string"],"ignoreViewQuery":"string","content":"John\tDoe\tjohn.doe@example.com","header":[]}'[
{
"fields": {}
}
]Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
The parameter "ranges" is used to represent the coordinates of a selected range in a table.
12 elements[[0, 0], [1, 1]]Content to paste
"John\tDoe\tjohn.doe@example.com"
Set the view you want to fetch, default is first view. result will filter and sort by view options.
"viwXXXXXXX"
If you want to get only some fields, pass in this parameter, otherwise all visible fields will be obtained
When a viewId is specified, configure this to true will ignore the view's filter, sort, etc
Table header for paste operation
Show child attributes
Show child attributes
[]Response
Paste successfully
Objects with a fields key mapping fieldId or field name to value for that field.
Show child attributes
Show child attributes
Was this page helpful?

