跳转到主要内容
PUT
/
table
/
{tableId}
/
view
/
{viewId}
/
record-order
cURL
curl --request PUT \
  --url http://127.0.0.1:3000/api/table/{tableId}/view/{viewId}/record-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "anchorId": "<string>",
  "position": "before",
  "recordIds": [
    "<string>"
  ]
}
'

授权

Authorization
string
header
必填

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

路径参数

tableId
string
必填
viewId
string
必填

请求体

application/json
anchorId
string
必填

Id of the record that you want to move other records around

position
enum<string>
必填
可用选项:
before,
after
recordIds
string[]
必填

Ids of those records you want to move

Maximum array length: 1000

响应

200

Successfully update.

Last modified on December 10, 2025