Skip to main content

Comment Object

Example
{
"solution": "640a3811c9d3ea77099331e2",
"application": "640a3811c9d3ea77099331e7",
"record": "640a385d0a86e2924f8dd382",
"member": "63a1f65723aaf6bcb564b1f1",
"message": {
"data": {
"type": "doc",
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": null
},
"content": [
{
"type": "text",
"text": "test"
}
]
}
]
},
"html": "<div class=\"rendered\">\n <p>test</p>\n</div>",
"preview": "test"
},
"parent_comment": null,
"created_on": "2023-03-20T12:49:05.832000Z",
"deleted_on": null,
"updated_on": null,
"reactions": [],
"key": 1,
"assigned_to": null,
"resolved_by": null,
"followers": [
"63a1f65723aaf6bcb564b1f1"
],
"type": "comment",
"email": null,
"id": "64185642174d214da05fa9c2"
}

Object Literals

ParamTypeNullableDescription
solutionstringNoA random 10 digit alphanumeric value.
applicationstringNoThe Table (app) Id.
recordstringNoThe field type (see below).
memberstringNofield-specific parameters.
messageobjectNoA SmartDoc object containing the comment body.
parent_commentstringYesA random 10 digit alphanumeric value.
created_onstringNoThe field name.
deleted_onstringYesThe field type (see below).
updated_onobjectYesfield-specific parameters.
reactionsarray of stringsNoSet to true for new fields.
keynumberNoA random 10 digit alphanumeric value.
assigned_tostringYesThe field name.
resolved_bystringYesThe field type (see below).
followersarray of stringsNoArray of following Member Ids.
typestringNoSet to "comment" or "email"
emailstringYesEmail address (if email comment)
idstringNoUnique Id of the comment.