## Comment
```json
{
"commentable_id": 407,
"commentable_type": "news_post",
"created_at": "2019-09-05T06:31:20+00:00",
"deleted_at": null,
"edited_at": null,
"edited_by_id": null,
"id": 276,
"legacy_name": null,
"message": "yes",
"message_html": "
",
"parent_id": null,
"pinned": true,
"replies_count": 0,
"updated_at": "2019-09-05T06:31:20+00:00",
"user_id": 1,
"votes_count": 0
}
```
Represents a single comment.
Field | Type | Description
---------------- | ------------------------ | ------------------
commentable_id | integer | ID of the object the comment is attached to
commentable_type | string | type of object the comment is attached to
created_at | [Timestamp](#timestamp) | ISO 8601 date
deleted_at | [Timestamp](#timestamp)? | ISO 8601 date if the comment was deleted; null, otherwise
edited_at | [Timestamp](#timestamp)? | ISO 8601 date if the comment was edited; null, otherwise
edited_by_id | integer? | user id of the user that edited the post; null, otherwise
id | integer | the ID of the comment
legacy_name | string? | username displayed on legacy comments
message | string? | markdown of the comment's content
message_html | string? | html version of the comment's content
parent_id | integer? | ID of the comment's parent
pinned | boolean | Pin status of the comment
replies_count | integer | Number of replies to the comment
updated_at | [Timestamp](#timestamp) | ISO 8601 date
user_id | integer | user ID of the poster
votes_count | integer | Number of votes