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 | A random 10 digit alphanumeric value. |
application | string | No | The Table (app) Id. |
record | string | No | The field type (see below). |
member | string | No | field-specific parameters. |
message | object | No | A SmartDoc object containing the comment body. |
parent_comment | string | Yes | A random 10 digit alphanumeric value. |
created_on | string | No | The field name. |
deleted_on | string | Yes | The field type (see below). |
updated_on | object | Yes | field-specific parameters. |
reactions | array of strings | No | Set to true for new fields. |
key | number | No | A random 10 digit alphanumeric value. |
assigned_to | string | Yes | The field name. |
resolved_by | string | Yes | The field type (see below). |
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. |