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
solutionstringNoId of the Solution that contains the record.
applicationstringNoThe Table (app) Id.
recordstringNoId of the record the comment belongs to.
memberstringNoMember Id of the comment's author.
messageobjectNoA SmartDoc object containing the comment body.
parent_commentstringYesId of the parent comment when this comment is a reply, otherwise null.
created_onstringNoDate and time the comment was created.
deleted_onstringYesDate and time the comment was deleted, or null.
updated_onstringYesDate and time the comment was last updated, or null.
reactionsarray of stringsNoArray of reactions to the comment.
keynumberNoNumeric key of the comment.
assigned_tostringYesMember Id the comment is assigned to, or null.
resolved_bystringYesMember Id of the Member who resolved the comment, or null.
followersarray of stringsNoArray of following Member Ids.
typestringNoSet to "comment" or "email"
emailstringYesEmail address (if email comment)
idstringNoUnique Id of the comment.