PATCH
/
table
/
{tableId}
/
selection
/
temporaryPaste
curl --request PATCH \
  --url https://app.teable.io/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

Authorization
string
header
required

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

Path Parameters

tableId
string
required

Body

application/json
ranges
array
required

The parameter "ranges" is used to represent the coordinates of a selected range in a table.

content
string
required

Content to paste

viewId
string

Set the view you want to fetch, default is first view. result will filter and sort by view options.

projection
string[]

If you want to get only some fields, pass in this parameter, otherwise all visible fields will be obtained

ignoreViewQuery

When a viewId is specified, configure this to true will ignore the view's filter, sort, etc

header
object[]

Table header for paste operation

Response

200 - application/json
Paste successfully
fields
object
required

Objects with a fields key mapping fieldId or field name to value for that field.