Github API - Test Config

GET /repos/{owner}/{repo}/pulls
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.
List pull requests

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)

state string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

head string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

base string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

sort string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

direction string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

key per-page

per-page [scalar]

The number of results per page (max 100).

API:
Github Open API
(version: 1.1.4)

key page

page [scalar]

Page number of the results to fetch.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json pull-request-simple []

pull-request-simple [object]

Pull Request Simple

Attributes
_links 2093

active_lock_reason string

assignees simple-user []

author_association author-association

auto_merge auto-merge

base 2094

body string

closed_at string

comments_url string

commits_url string

created_at string

diff_url string

draft boolean

Indicates whether or not the pull request is a draft.

head 2095

html_url string

id integer

issue_url string

labels 2096 []

locked boolean

merge_commit_sha string

merged_at string

milestone nullable-milestone

node_id string

number integer

patch_url string

requested_reviewers simple-user []

requested_teams team []

review_comment_url string

review_comments_url string

state string

statuses_url string

title string

updated_at string

url string

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

not_modified [scalar]

Not modified

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)