GET/repos/{owner}/{repo}/issues/{issue_number}/reactions

List reactions for an issue

Lists reactions to an issue in a repository. Use content to filter the results to one reaction type, or omit it to list all reactions; use page and per_page to paginate the results.

6 parameters
ownerstringrequired
The account owner of the repository; the name is not case-sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case-sensitive.
issue_numberintegerrequired
The number that identifies the issue whose reactions you want to list.
contentstringoptional
Filter results to this reaction type: +1, -1, laugh, confused, heart, hooray, rocket, or eyes. Omit to list all reactions.
Allowed:+1-1laughconfusedhearthoorayrocketeyes
per_pageintegeroptional
Number of results per page, up to 100. Defaults to 30 when omitted.
Default:30
pageintegeroptional
Page number of the results to fetch. Defaults to 1 when omitted.
Default:1

3 status codes
200Returns an array of reaction objects, including each reaction's type, creation time, and associated user.
idintegerrequired
node_idstringrequired
userobjectrequired
A GitHub user.
contentstringrequired
The reaction to use
Allowed:+1-1laughconfusedhearthoorayrocketeyes
created_atstringrequired
404Returned when the repository or issue cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
410Returned when the requested resource is no longer available.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned when the repository or issue cannot be found; a 410 indicates that the requested resource is no longer available. content, when supplied, must be one of: +1, -1, laugh, confused, heart, hooray, rocket, or eyes; per_page accepts a maximum of 100.