apicheats.dev Cheat sheet Raw .md
POST

Try POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events — GitHub API

GitHub playground

Submit a review for a pull request

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

2 body fields
  • body · optional · string — The body text of the pull request review
  • event · required · string — The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.