comments
Overview
Name | comments |
Type | Resource |
Id | github.issues.comments |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | Unique identifier of the issue comment |
created_at | string | |
node_id | string | |
issue_url | string | |
html_url | string | |
author_association | string | How the author is associated with the repository. |
performed_via_github_app | object | GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub. |
reactions | object | |
body_text | string | |
body | string | Contents of the issue comment |
body_html | string | |
url | string | URL for the issue comment |
updated_at | string | |
user | object | Simple User |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_comment | SELECT | comment_id, owner, repo | |
list_comments | SELECT | issue_number, owner, repo | Issue Comments are ordered by ascending ID. |
list_comments_for_repo | SELECT | owner, repo | By default, Issue Comments are ordered by ascending ID. |
create_comment | INSERT | issue_number, owner, repo, data__body | This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. See "Secondary rate limits" and "Dealing with secondary rate limits" for details. |
delete_comment | DELETE | comment_id, owner, repo | |
update_comment | EXEC | comment_id, owner, repo, data__body |