The Comments Object
This is an object representing a comment.
Properties
Section titled “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) - 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
{ "comments":[ { "user_id":99734, "id":141546, "message":null, "message_json":[ { "text":"hello 4", "type":"text" } ], "created_at":"2024-02-06T22:11:00.119Z", "updated_at":"2024-02-06T22:11:00.119Z" } ]}Get in touch with the Storyblok community