Update comment
Changed onUpdate the text of an existing comment. Only the comment creator can update.
Note: Comment APIs are available on cloud-hosted Business plans and above, and on licensed self-hosted deployments (Business plan and above).
Request
- Base URLhttps://app.nocodb.com
- Auth
- API key in header xc-token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique identifier for the base.
Unique identifier for the comment.
Request body
Example request
{
"comment": "Updated comment"
}Response
Comment updated successfully.
Example response
{
"id": "cmt_abc123",
"record_id": "1",
"table_id": "mrc5unwjdov67vr",
"comment": "This is a comment",
"created_by": "usr_abc123",
"created_at": "2024-01-15T10:30:00.000Z",
"updated_at": "2024-01-15T10:30:00.000Z"
}Changes
- breaking
the
response property's maxLength was increased from3000to10000for the response status - info
the
request property's maxLength was increased from3000to10000 - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking