Skip to main content

comments

Overview

Namecomments
TypeResource
Idgithub.issues.comments

Fields

NameDatatypeDescription
idintegerUnique identifier of the issue comment
created_atstring
node_idstring
issue_urlstring
html_urlstring
author_associationstringHow the author is associated with the repository.
performed_via_github_appobjectGitHub 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.
reactionsobject
body_textstring
bodystringContents of the issue comment
body_htmlstring
urlstringURL for the issue comment
updated_atstring
userobjectSimple User

Methods

NameAccessible byRequired ParamsDescription
get_commentSELECTcomment_id, owner, repo
list_commentsSELECTissue_number, owner, repoIssue Comments are ordered by ascending ID.
list_comments_for_repoSELECTowner, repoBy default, Issue Comments are ordered by ascending ID.
create_commentINSERTissue_number, owner, repo, data__bodyThis 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_commentDELETEcomment_id, owner, repo
update_commentEXECcomment_id, owner, repo, data__body