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

授权

Authorization
string
header
必填

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

路径参数

tableId
string
必填
viewId
string
必填

请求体

application/json
fieldId
string
必填

The id of the field.

order
enum<string>
必填
可用选项:
asc,
desc

响应

200

Successfully update.

Last modified on December 10, 2025