The Discussions Object
Properties
-
id
numberThe numeric ID
-
title
stringTitle of the discussion field
-
block_uid
stringid
of discussion block component -
solved_at
stringThe time a discussion is resolved. (Format:
YYYY-mm-dd HH:MM
) -
fieldname
stringTechnical name of the discussion field
-
component
stringThe component of the discussion
-
lang
stringLanguage code of the current language (can be requested with the
language
API parameter) -
last_comment
objectThe
last_comment
is an object in the discussion that contains theuser_id
,id
,message
andmessage_json
-
user_id
numberUser/numeric id of collaborator
-
id
numberThe numeric ID
-
message
null or stringThe message of a comment, with the datatype of
null
or a string. -
message_json
objectAn array with
text
andtype
properties of type strings.-
text
stringA text property usually of type String
-
type
stringThe type of your field
-
-
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
)
-
{
"discussion": {
"id": 666,
"title": "Headline",
"block_uid": "8c4679fb-68f6-4727-acf0",
"fieldname": "headline",
"solved_at": "2024-02-06T11:43:51.522Z",
"component": "teaser",
"lang": "default",
"last_comment": {
"user_id": 123,
"id": 666,
"message": null,
"message_json": [
{
"text": "hello this is a comment",
"type": "text"
}
],
"created_at": "2024-02-06T11:39:07.225Z",
"updated_at": "2024-02-06T11:39:07.225Z"
}
}
}