Sample - GitHub REST API
GET/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions

List reactions for a pull request review comment

List the reactions to a pull request review comment.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

6 parameters
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
comment_idintegerrequired
The unique identifier of the comment.
contentstringoptional
Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment.
Allowed:+1-1laughconfusedhearthoorayrocketeyes
per_pageintegeroptional
The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
Default:30
pageintegeroptional
The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
Default:1

2 status codes
200Response
idintegerrequired
node_idstringrequired
userobjectrequired
A GitHub user.
contentstringrequired
The reaction to use
Allowed:+1-1laughconfusedhearthoorayrocketeyes
created_atstringrequired
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned: Resource not found.