The Comments Object
This is an object representing a comment.
Properties
Section titled “Properties”-
idnumberThe numeric ID
-
created_atstringCreation date (Format:
yyyy-MM-dd'T'HH:mm:ssZ) -
updated_atstringLatest update date (Format:
yyyy-MM-dd'T'HH:mm:ssZ) -
messagenull | stringThe message of a comment, with the datatype of
nullor a string. -
message_jsonobjectThe
message_jsonproperty is an array containing JSON objects representing the comments’ messages.Show child properties
-
textstringThe text part
-
typestringThe type
-
attrsobjectAttributes
-
-
user_idnumberUser/numeric id of collaborator
-
uuidstringGenerated 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" } ]}Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window) . Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community