1. Idea's Comments Object

Idea's Comments Object

Idea's comments object is different from the Discussions' comments.

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 extra property is an array containing JSON objects representing the extra from Idea’s comment.

    • text

      string

      The text part

    • type

      string

      The type

    • attrs

      object

      Attributes

  • message

    null or string

    The message of a comment, with the datatype of null or a string.

  • message_json

    object

    The message_json property is an array containing JSON objects representing the comments’ messages.

    • 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

Example Object
{
  "comments": [
    {
      "id": 1,
      "created_at": "2024-02-06T22:11:00.119Z",
      "updated_at": "2024-02-06T22:11:00.119Z",
      "extra": {},
      "message": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
      "message_json": [],
      "user_id": 2,
      "uuid": "e00c312a-7f6d-4f53-bb03-e55cb476a401",
    }
  ],
}