Interact with reactions to various GitHub entities.
15 endpoints tagged reactions, each listing its
parameters and possible responses. Search or scroll the index below to
jump to a specific endpoint.
No endpoints match your search.
GET /repos/{owner}/{repo}/comments/{comment_id}/reactions
List the reactions to a commit comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
content | query | no | Returns a single reaction type. Omit this parameter to list all reactions to a commit comment. |
per_page | query | no | The number of results per page (max 100). For more information, see "Using pagination in the REST API." |
page | query | no | The page number of the results to fetch. For more information, see "Using pagination in the REST API." |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Response | yes |
| 404 | Resource not found | yes |
POST /repos/{owner}/{repo}/comments/{comment_id}/reactions
Create a reaction to a commit comment. A response with an HTTP 200 status means that you already added the reaction type to this commit comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Reaction exists | yes |
| 201 | Reaction created | yes |
| 422 | Validation failed, or the endpoint has been spammed. | yes |
DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}
Delete a reaction to a commit comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
reaction_id | path | yes | The unique identifier of the reaction. |
| Status | Description | Has JSON body |
|---|---|---|
| 204 | Response | no |
GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
List the reactions to an issue comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
content | query | no | Returns a single reaction type. Omit this parameter to list all reactions to an issue comment. |
per_page | query | no | The number of results per page (max 100). For more information, see "Using pagination in the REST API." |
page | query | no | The page number of the results to fetch. For more information, see "Using pagination in the REST API." |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Response | yes |
| 404 | Resource not found | yes |
POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
Create a reaction to an issue comment. A response with an HTTP 200 status means that you already added the reaction type to this issue comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Reaction exists | yes |
| 201 | Reaction created | yes |
| 422 | Validation failed, or the endpoint has been spammed. | yes |
DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}
Delete a reaction to an issue comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
reaction_id | path | yes | The unique identifier of the reaction. |
| Status | Description | Has JSON body |
|---|---|---|
| 204 | Response | no |
GET /repos/{owner}/{repo}/issues/{issue_number}/reactions
List the reactions to an issue.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
issue_number | path | yes | The number that identifies the issue. |
content | query | no | Returns a single reaction type. Omit this parameter to list all reactions to an issue. |
per_page | query | no | The number of results per page (max 100). For more information, see "Using pagination in the REST API." |
page | query | no | The page number of the results to fetch. For more information, see "Using pagination in the REST API." |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Response | yes |
| 404 | Resource not found | yes |
| 410 | Gone | yes |
POST /repos/{owner}/{repo}/issues/{issue_number}/reactions
Create a reaction to an issue. A response with an HTTP 200 status means that you already added the reaction type to this issue.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
issue_number | path | yes | The number that identifies the issue. |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Response | yes |
| 201 | Response | yes |
| 422 | Validation failed, or the endpoint has been spammed. | yes |
DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}
Delete a reaction to an issue.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
issue_number | path | yes | The number that identifies the issue. |
reaction_id | path | yes | The unique identifier of the reaction. |
| Status | Description | Has JSON body |
|---|---|---|
| 204 | Response | no |
GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
List the reactions to a pull request review comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
content | query | no | Returns a single reaction type. Omit this parameter to list all reactions to a pull request review comment. |
per_page | query | no | The number of results per page (max 100). For more information, see "Using pagination in the REST API." |
page | query | no | The page number of the results to fetch. For more information, see "Using pagination in the REST API." |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Response | yes |
| 404 | Resource not found | yes |
POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
Create a reaction to a pull request review comment. A response with an HTTP 200 status means that you already added the reaction type to this pull request review comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Reaction exists | yes |
| 201 | Reaction created | yes |
| 422 | Validation failed, or the endpoint has been spammed. | yes |
DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}
Delete a reaction to a pull request review comment.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
comment_id | path | yes | The unique identifier of the comment. |
reaction_id | path | yes | The unique identifier of the reaction. |
| Status | Description | Has JSON body |
|---|---|---|
| 204 | Response | no |
GET /repos/{owner}/{repo}/releases/{release_id}/reactions
List the reactions to a release.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
release_id | path | yes | The unique identifier of the release. |
content | query | no | Returns a single reaction type. Omit this parameter to list all reactions to a release. |
per_page | query | no | The number of results per page (max 100). For more information, see "Using pagination in the REST API." |
page | query | no | The page number of the results to fetch. For more information, see "Using pagination in the REST API." |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Response | yes |
| 404 | Resource not found | yes |
POST /repos/{owner}/{repo}/releases/{release_id}/reactions
Create a reaction to a release. A response with a Status: 200 OK means that you already added the reaction type to this release.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
release_id | path | yes | The unique identifier of the release. |
| Status | Description | Has JSON body |
|---|---|---|
| 200 | Reaction exists | yes |
| 201 | Reaction created | yes |
| 422 | Validation failed, or the endpoint has been spammed. | yes |
DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}
Delete a reaction to a release.
| Name | In | Required | Description |
|---|---|---|---|
owner | path | yes | The account owner of the repository. The name is not case sensitive. |
repo | path | yes | The name of the repository without the .git extension. The name is not case sensitive. |
release_id | path | yes | The unique identifier of the release. |
reaction_id | path | yes | The unique identifier of the reaction. |
| Status | Description | Has JSON body |
|---|---|---|
| 204 | Response | no |