No API endpoint to create reactions on PR review bodies #29018
Replies: 3 comments 1 reply
-
|
the same is true for retrieving a list of reactions. It's possible to get them for pull request review comments, but not for pull request reviews, at least not via the REST API |
Beta Was this translation helpful? Give feedback.
-
|
Still no API for this in 2025. The API for pull request reviews describes Pull Request Reviews as
However, the "optional body comment" to a pull request review is not returned as comments to the PR, so the issue comment API cannot be used. The PR reviews themselves fall between the cracks. My scenario:
|
Beta Was this translation helpful? Give feedback.
-
|
It's unfortunate that this feature isn't available through the REST API, but it is possible via GraphQL: https://docs.github.com/en/graphql/reference/mutations#addreaction. Just add a reaction to the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There are endpoints to:
But very weirdly there's no api endpoint to create reactions on pull request review bodies (e.g. the text you enter at the end of a review, before clicking submit), even though this is possible in the UI.
Why is this? Please could it be added.
Beta Was this translation helpful? Give feedback.
All reactions