跳转到主要内容
PATCH
/
comment
/
{tableId}
/
{recordId}
/
{commentId}
cURL
curl --request PATCH \
  --url http://127.0.0.1:3000/api/comment/{tableId}/{recordId}/{commentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": [
    {
      "type": "p",
      "children": [
        {
          "type": "span",
          "value": "<string>"
        }
      ],
      "value": "<unknown>"
    }
  ]
}
'

授权

Authorization
string
header
必填

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

路径参数

tableId
string
必填
recordId
string
必填
commentId
string
必填

请求体

application/json
content
object[]
必填

响应

200

Successfully update comment.

Last modified on December 10, 2025