Idea Discussions Object
This is an object of the discussions for the specific idea.
Properties
Section titled “Properties”- id number
Numeric ID of the specific idea’s discussion
- title string
Title of the discussion field
- block_uid string
The ID of discussion block
- fieldname string
Technical name of the discussion field
- solved_at string
The time a discussion is resolved. (Format:
YYYY-mm-dd HH:MM) - component string
The component/block name to which the discussion belongs to
- lang string
Language code of the current language (can be requested with the
languageAPI parameter) - uuid string
Generated UUID string
- comments Idea's Comments Object[]
An array of idea’s comment objects
Show child properties
- id number
The numeric ID
- created_at string
Creation date (Format:
yyyy-MM-dd'T'HH:mm:ssZ) - updated_at string
Latest update date (Format:
yyyy-MM-dd'T'HH:mm:ssZ) - extra object
The
extraproperty is an array containing JSON objects representing the extra from Idea’s comment.Show child properties
- text string
The text part
- type string
The type
- attrs object
Attributes
-
- message null | string
The message of a comment, with the datatype of
nullor a string. - message_json object
The
message_jsonproperty is an array containing JSON objects representing the comments’ messages.Show child properties
- text string
The text part
- type string
The type
- attrs object
Attributes
-
- user_id number
User/numeric id of collaborator
- uuid string
Generated UUID string
-
- last_comments Idea's Comments Object[]
An array of idea’s last comment objects
Show child properties
- id number
The numeric ID
- created_at string
Creation date (Format:
yyyy-MM-dd'T'HH:mm:ssZ) - updated_at string
Latest update date (Format:
yyyy-MM-dd'T'HH:mm:ssZ) - extra object
The
extraproperty is an array containing JSON objects representing the extra from Idea’s comment.Show child properties
- text string
The text part
- type string
The type
- attrs object
Attributes
-
- message null | string
The message of a comment, with the datatype of
nullor a string. - message_json object
The
message_jsonproperty is an array containing JSON objects representing the comments’ messages.Show child properties
- text string
The text part
- type string
The type
- attrs object
Attributes
-
- user_id number
User/numeric id of collaborator
- uuid string
Generated UUID string
-
{ "discussions": { "id": 1, "title": "<div class=|"hello">Hello world! <strong>Hello everyone", "block_uid": null, "fieldname": null, "solved_at": null, "component": null, "lang": "default", "uuid": "46e6030b-80fc-4574-b72d-448796900c98", "comments": [ { "id": 1, "created_at": "2024-06-03T05:02:37.716Z", "updated_at": "2024-06-03T05:02:37.716Z", "extra": {}, "message": "Lorem ipsum dolor sit amet, consectetur adipiscing elit", "message_json": [], "user_id": 1, "uuid": "a01b234c-5d6e-7f89-gh10-i11jk121l314" } ], "last_comment": { "id": 1, "created_at": "2024-06-03T05:02:37.716Z", "updated_at": "2024-06-03T05:02:37.716Z", "extra": {}, "message": "Lorem ipsum dolor sit amet, consectetur adipiscing elit", "message_json": [], "user_id": 2, "uuid": "e00c312a-7f6d-4f53-bb03-e55cb476a401" } }}Get in touch with the Storyblok community