Skip to main content

This version of GitHub Enterprise was discontinued on 2023-03-15. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

After a site administrator upgrades your Enterprise Server instance to Enterprise Server 3.9 or later, the REST API will be versioned. To learn how to find your instance's version, see "About versions of GitHub Docs". For more information, see "About API versioning."

Pull request reviews

Use the REST API to interact with pull request reviews.

About pull request reviews

Pull Request Reviews are groups of pull request review comments on a pull request, grouped together with a state and optional body comment.

Custom media types

These are the supported media types for this set of endpoints:

application/vnd.github.raw+json
application/vnd.github.text+json
application/vnd.github.html+json
application/vnd.github.full+json

For more information about media types, see "Media types."

List reviews for a pull request

Works with GitHub Apps

The list of reviews returns in chronological order.

Parameters for "List reviews for a pull request"

Headers
Name, Type, Description
accept