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
| Param | Type | Nullable | Description |
|---|---|---|---|
| solution | string | No | Id of the Solution that contains the record. |
| application | string | No | The Table (app) Id. |
| record | string | No | Id of the record the comment belongs to. |
| member | string | No | Member Id of the comment's author. |
| message | object | No | A SmartDoc object containing the comment body. |
| parent_comment | string | Yes | Id of the parent comment when this comment is a reply, otherwise null. |
| created_on | string | No | Date and time the comment was created. |
| deleted_on | string | Yes | Date and time the comment was deleted, or null. |
| updated_on | string | Yes | Date and time the comment was last updated, or null. |
| reactions | array of strings | No | Array of reactions to the comment. |
| key | number | No | Numeric key of the comment. |
| assigned_to | string | Yes | Member Id the comment is assigned to, or null. |
| resolved_by | string | Yes | Member Id of the Member who resolved the comment, or null. |
| followers | array of strings | No | Array of following Member Ids. |
| type | string | No | Set to "comment" or "email" |
string | Yes | Email address (if email comment) | |
| id | string | No | Unique Id of the comment. |