How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Enterprise Pulls API

Interact with GitHub Pull Requests.

GitHub Enterprise Pulls API is one of 58 APIs that GitHub Enterprise publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Pulls. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 35 operations across 23 paths, and defines 32 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against a single base URL, https://api.github.com.

35 operations 23 paths 32 schemas 3 DELETE15 GET2 PATCH10 POST5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 35

Across 23 paths, the API surfaces 35 operations — 3 DELETE, 15 GET, 2 PATCH, 10 POST, 5 PUT. Each is listed below with its method, path, parameters, and response codes.

Pulls 35

Interact with GitHub Pull Requests.

GET
/repos/{owner}/{repo}/pulls
List pull requests
pulls/list 9 params → 200304422
POST
/repos/{owner}/{repo}/pulls
Create a pull request
pulls/create 2 params body → 201403422
GET
/repos/{owner}/{repo}/pulls/comments
List review comments in a repository
pulls/list-review-comments-for-repo 7 params → 200
GET
/repos/{owner}/{repo}/pulls/comments/{comment_id}
Get a review comment for a pull request
pulls/get-review-comment 3 params → 200304404
PATCH
/repos/{owner}/{repo}/pulls/comments/{comment_id}
Update a review comment for a pull request
pulls/update-review-comment 3 params body → 200
DELETE
/repos/{owner}/{repo}/pulls/comments/{comment_id}
Delete a review comment for a pull request
pulls/delete-review-comment 3 params → 204404
GET
/repos/{owner}/{repo}/pulls/{pull_number}
Get a pull request
pulls/get 3 params → 200304404406422500503
PATCH
/repos/{owner}/{repo}/pulls/{pull_number}
Update a pull request
pulls/update 3 params body → 200422403
GET
/repos/{owner}/{repo}/pulls/{pull_number}/comments
List review comments on a pull request
pulls/list-review-comments 8 params → 200
POST
/repos/{owner}/{repo}/pulls/{pull_number}/comments
Create a review comment for a pull request
pulls/create-review-comment 3 params body → 201422403
POST
/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies
Create a reply for a review comment
pulls/create-reply-for-review-comment 4 params body → 201404
GET
/repos/{owner}/{repo}/pulls/{pull_number}/commits
List commits on a pull request
pulls/list-commits 5 params → 200
GET
/repos/{owner}/{repo}/pulls/{pull_number}/files
List pull requests files
pulls/list-files 5 params → 200422500503
GET
/repos/{owner}/{repo}/pulls/{pull_number}/merge
Check if a pull request has been merged
pulls/check-if-merged 3 params → 204404
PUT
/repos/{owner}/{repo}/pulls/{pull_number}/merge
Merge a pull request
pulls/merge 3 params body → 200405409422403404
PUT
/repos/{owner}/{repo}/pulls/{pull_number}/merge-async
Merge a pull request asynchronously
pulls/merge-async 3 params body → 202200409400422403404
GET
/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}
Get the result of an asynchronous merge
pulls/get-merge-async-result 4 params → 200403404
GET
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
Get all requested reviewers for a pull request
pulls/list-requested-reviewers 3 params → 200
POST
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
Request reviewers for a pull request
pulls/request-reviewers 3 params body → 201422403503
DELETE
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
Remove requested reviewers from a pull request
pulls/remove-requested-reviewers 3 params body → 200422
POST
/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers/rerequest
Rerequest reviewers for a pull request
pulls/rerequest-reviewers 3 params body → 201422403
GET
/repos/{owner}/{repo}/pulls/{pull_number}/reviews
List reviews for a pull request
pulls/list-reviews 5 params → 200
POST
/repos/{owner}/{repo}/pulls/{pull_number}/reviews
Create a review for a pull request
pulls/create-review 3 params body → 200422403
GET
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}
Get a review for a pull request
pulls/get-review 4 params → 200404
PUT
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}
Update a review for a pull request
pulls/update-review 4 params body → 200422
DELETE
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}
Delete a pending review for a pull request
pulls/delete-pending-review 4 params → 200422404
GET
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments
List comments for a pull request review
pulls/list-comments-for-review 6 params → 200404
PUT
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals
Dismiss a review for a pull request
pulls/dismiss-review 4 params body → 200404422
POST
/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events
Submit a review for a pull request
pulls/submit-review 4 params body → 200404422403
PUT
/repos/{owner}/{repo}/pulls/{pull_number}/update-branch
Update a pull request branch
pulls/update-branch 3 params body → 202422403
GET
/repos/{owner}/{repo}/stacks
List pull request stacks
pull-request-stacks/list 5 params → 200404422
POST
/repos/{owner}/{repo}/stacks
Create a pull request stack
pull-request-stacks/create 2 params body → 201404422
GET
/repos/{owner}/{repo}/stacks/{stack_number}
Get a pull request stack
pull-request-stacks/get 3 params → 200404
POST
/repos/{owner}/{repo}/stacks/{stack_number}/add
Add pull requests to a pull request stack
pull-request-stacks/add 3 params body → 200404409422
POST
/repos/{owner}/{repo}/stacks/{stack_number}/unstack
Remove pull requests from a pull request stack
pull-request-stacks/unstack 3 params → 200404409422204

Schemas 32

The contract defines 32 schemas that model the data the API accepts and returns. The most detailed are repository (98 properties), pull-request (49 properties), pull-request-simple (37 properties), review-comment (31 properties). Each schema is shown below with its type and property counts.

empty-object
object
An object without any properties.
basic-error
object
Basic Error
4 properties
link
object
Hypermedia Link
1 property 1 required
validation-error-simple
object
Validation Error Simple
3 properties 2 required
nullable-license-simple
objectnull
License Simple
6 properties 5 required
verification
object
5 properties 5 required
review-comment
object
Legacy Review Comment
31 properties 18 required
pull-request-stack-minimal
object
8 properties 8 required
author-association
string
How the author is associated with the repository.
pull-request-merge-result
object
Pull Request Merge Result
3 properties 3 required
repository
object
A repository on GitHub.
98 properties 73 required
diff-entry
object
Diff Entry
11 properties 9 required
nullable-git-user
objectnull
Metaproperties for Git author/committer information.
3 properties
pull-request-stack-pull-request
object
auto-merge
objectnull
The status of auto merging a pull request.
4 properties 4 required
pull-request-simple
object
Pull Request Simple
37 properties 31 required
pull-request-review-request
object
Pull Request Review Request
2 properties 2 required
validation-error
object
Validation Error
3 properties 2 required
pull-request-review-comment
object
Pull Request Review Comments are comments on a portion of the Pull Request's diff.
31 properties 16 required
nullable-simple-user
objectnull
A GitHub user.
22 properties 18 required
commit
object
Commit
11 properties 9 required
team
object
Groups of organization members that gives permissions on specified repositories.
18 properties 12 required
reaction-rollup
object
10 properties 10 required
pull-request-minimal
object
5 properties 5 required
pull-request-stack
objectnull
The stack information associated with a pull request.
5 properties 1 required
pull-request-review
object
Pull Request Reviews are reviews on pull requests.
15 properties 10 required
team-simple
object
Groups of organization members that gives permissions on specified repositories.
16 properties 11 required
nullable-team-simple
objectnull
Groups of organization members that gives permissions on specified repositories.
16 properties 11 required
pull-request
object
Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of…
49 properties 42 required
nullable-milestone
objectnull
A collection of related issues and pull requests.
16 properties 16 required
simple-user
object
A GitHub user.
22 properties 18 required
pull-request-merge-async-result
object
Pull Request Merge Async Result
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-enterprise-pulls-api-openapi.yml Raw ↑

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

This is an independent, third-party profile of GitHub Enterprise Pulls API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.