Skip to content
AnyMeta.
AnyMetaGitHubPull Requests

Get a pull request

Returns pull request metadata, source and target branches, merge status, and change statistics.

GET/github/repos/{owner}/{repo}/pulls/{pull_number}No authentication required
Upstream documentation

Path parameters3

Path parameters
NameTypeDescription
owner*string

The repository owner login. The value is case-insensitive.

repo*string

The repository name without the .git suffix. The value is case-insensitive.

pull_number*integer

The pull request number.

Minimum: 1

Headers2

Headers
NameTypeDescription
If-None-Matchstring

An ETag for conditional requests.

If-Modified-Sincestring

An HTTP date for conditional requests.

Responses

application/json
SchemaGithubIssue & object

Must match all schemas

Schema 1object
Additional properties are allowed
Schema 2object
Additional properties are allowed

The original GitHub response.