Skip to main content
GET
/
api
/
v1
/
github
/
repos
/
{id}
/
pulls
/
{pull_number}
Get a single pull request
curl --request GET \
  --url https://neo.api.projectdiscovery.io/api/v1/github/repos/{id}/pulls/{pull_number} \
  --header 'Authorization: Bearer <token>'
{
  "author": {
    "avatar_url": "<string>",
    "login": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "draft": true,
  "html_url": "<string>",
  "labels": [
    {
      "color": "<string>",
      "name": "<string>"
    }
  ],
  "number": 123,
  "state": "<string>",
  "title": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "base": {
    "ref": "<string>",
    "sha": "<string>"
  },
  "body": "<string>",
  "head": {
    "ref": "<string>",
    "sha": "<string>"
  },
  "merged_at": "2023-11-07T05:31:56Z",
  "neo_review": {
    "critical_count": 123,
    "findings_count": 123,
    "high_count": 123,
    "latest_reviewed_at": "2023-11-07T05:31:56Z",
    "latest_status": "<string>",
    "medium_count": 123,
    "review_count": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string<uuid>
required

Repository ID

pull_number
integer
required

Pull request number

Response

Pull request details

author
object
required
created_at
string<date-time>
required
draft
boolean
required
html_url
string<uri>
required
labels
object[]
required
number
integer
required
state
string
required
title
string
required
updated_at
string<date-time>
required
base
object
body
string
head
object
merged_at
string<date-time> | null
neo_review
object