跳转到主要内容
PATCH
/
table
/
{tableId}
/
selection
/
temporaryPaste
Preview paste operation results
curl --request PATCH \
  --url http://127.0.0.1:3000/api/table/{tableId}/selection/temporaryPaste \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ranges": [
    [
      0,
      0
    ],
    [
      1,
      1
    ]
  ],
  "content": "John\tDoe\[email protected]",
  "viewId": "viwXXXXXXX",
  "projection": [
    "<string>"
  ],
  "ignoreViewQuery": "<string>",
  "header": []
}
'
[
  {
    "fields": {}
  }
]

授权

Authorization
string
header
必填

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

路径参数

tableId
string
必填

请求体

application/json
ranges
number[][]
必填

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

Minimum array length: 1
Required array length: 2 elements
示例:
[[0, 0], [1, 1]]
content
必填

Content to paste

示例:

"John\tDoe\[email protected]"

viewId
string

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

示例:

"viwXXXXXXX"

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

示例:
[]

响应

200 - application/json

Paste successfully

fields
object
必填

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

Last modified on December 10, 2025