The Discussions Object
This is an object representing a discussion.
Properties
-
id
numberThe numeric ID of the discussion
-
title
stringTitle of the discussion field
-
block_uid
stringThe ID of discussion block
-
fieldname
stringTechnical name of the discussion field
-
solved_at
stringThe time a discussion is resolved. (Format:
YYYY-mm-dd HH:MM
) -
component
stringThe component/block name to which the discussion belongs to
-
lang
stringLanguage code in which the discussion is present.
-
uuid
stringGenerated UUID string
-
last_comment
objectThe
last_comment
is an object that contains the details about the last comment of that discussion.-
id
numberThe numeric ID
-
created_at
stringCreation date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
) -
updated_at
stringLatest update date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
) -
message
null or stringThe message of a comment, with the datatype of
null
or a string. -
message_json
objectAn array with properties of the message such as
type
,text
andattrs
.-
text
stringThe text part
-
type
stringThe type
-
attrs
objectAttributes
-
-
user_id
numberUser/numeric id of collaborator
-
uuid
stringGenerated UUID string
-
{
"discussion": {
"id": 62850,
"title": "Body",
"block_uid": "b5936adb-cc40-48f7-a8d3-285361030249",
"fieldname": "body",
"solved_at": null,
"component": "page",
"lang": "default",
"uuid": "46e6030b-80fc-4574-b72d-448796900c98",
"last_comment": {
"id": 164253,
"created_at": "2024-06-03T05:02:37.716Z",
"updated_at": "2024-06-03T05:02:37.716Z",
"message": null,
"message_json": [
{
"text": "test",
"type": "text"
}
],
"user_id": 110930,
"uuid": "e00c312a-7f6d-4f53-bb03-e55cb476a401"
}
}
}