2.1 KiB
2.1 KiB
title, intro, versions, topics, autogenerated
| title | intro | versions | topics | autogenerated | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Pulls | Use the REST API to interact with pull requests. |
|
|
rest |
About pull requests
You can list, view, edit, create, and merge pull requests using the REST API. For information about how to interact with comments on a pull request, see "AUTOTITLE."
Pull requests are a type of issue. Any actions that are available in both pull requests and issues, like managing assignees, labels, and milestones, are provided by the REST API to manage issues. For more information, see "AUTOTITLE."
Custom media types for pull requests
These are the supported media types for pull requests.
application/vnd.github.raw+json
application/vnd.github.text+json
application/vnd.github.html+json
application/vnd.github.full+json
application/vnd.github.diff
application/vnd.github.patch
For more information, see "AUTOTITLE."
If a diff is corrupt, contact {% data variables.contact.contact_support %}. Include the repository name and pull request ID in your message.
Link Relations
Pull requests have these possible link relations:
self: The API location of this pull requesthtml: The HTML location of this pull requestissue: The API location of this pull request's issuecomments: The API location of this pull request's issue commentsreview_comments: The API location of this pull request's review commentsreview_comment: The URL template to construct the API location for a review comment in this pull request's repositorycommits: The API location of this pull request's commitsstatuses: The API location of this pull request's commit statuses, which are the statuses of itsheadbranch