A comment was added to the issue or pull request.
| Issue type | Issue events API | Timeline events API |
|---|---|---|
|
X |
This events properties do not use the same structure as the issue event object common properties. The following properties are returned for this event.
| Name | Type | Description |
|---|---|---|
url |
string |
The REST API URL to retrieve the issue comment. |
html_url |
string |
The HTML URL of the issue comment. |
issue_url |
string |
The HTML URL of the issue. |
id |
integer |
The unique identifier of the event. |
node_id |
string |
The Global Node ID of the event. |
user |
object |
The person who commented on the issue. |
created_at |
string |
The timestamp indicating when the comment was added. |
updated_at |
string |
The timestamp indicating when the comment was updated or created, if the comment is never updated. |
author_association |
string |
The permissions the user has in the issue's repository. For example, the value would be "OWNER" if the owner of repository created a comment. |
body |
string |
The comment body text. |
event |
string |
The event value is "commented". |
actor |
object |
The person who generated the event. |