Github API - Test Config

PATCH /repos/{owner}/{repo}/pulls/{pull_number}
repos
pulls

Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.
Update a pull request

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key pull-number

pull-number [scalar]

The number that identifies the pull request.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json pull-request

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 changes, discuss potential modifications, and even push follow-up commits if necessary.

Attributes
_links 2069

active_lock_reason string

additions integer

assignees simple-user []

author_association author-association

auto_merge auto-merge

base 2070

body string

changed_files integer

closed_at string

comments integer

comments_url string

commits integer

commits_url string

created_at string

deletions integer

diff_url string

draft boolean

Indicates whether or not the pull request is a draft.

head 2075

html_url string

id integer

issue_url string

labels 2081 []

locked boolean

maintainer_can_modify boolean

Indicates whether maintainers can modify the pull request.

merge_commit_sha string

mergeable boolean

mergeable_state string

merged boolean

merged_at string

milestone nullable-milestone

node_id string

number integer

Number uniquely identifying the pull request within its repository.

patch_url string

rebaseable boolean

requested_reviewers simple-user []

requested_teams team-simple []

review_comment_url string

review_comments integer

review_comments_url string

state string

State of this Pull Request. Either open or closed.

statuses_url string

title string

The title of the pull request.

updated_at string

url string

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)