Sample - GitHub REST API
GET/repos/{owner}/{repo}/releases/{release_id}/reactions

List reactions for a release

List the reactions to a release.

  • 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.
release_idintegerrequired
The unique identifier of the release.
contentstringoptional
Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release.
Allowed:+1laughhearthoorayrocketeyes
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.