APIs / GitHub / Repository Pulls
GitHub: Repository Pulls
Repository Pulls from GitHub as JSON. 1 credit per successful call.
GET /v1/github/repository-pulls
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
number | string | Required | Any |
owner | string | Required | Up to 39 characters |
repo | string | Required | Up to 100 characters |
Example request
curl "https://api.perceptlayer.com/v1/github/repository-pulls?owner=laravel&repo=framework&number=62448" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 40 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_parameters | object |
rate_limit | object |
url | url |
id | integer |
node_id | string |
html_url | url |
diff_url | url |
patch_url | url |
issue_url | url |
commits_url | url |
review_comments_url | url |
review_comment_url | url |
comments_url | url |
statuses_url | url |
number | integer |
state | string |
locked | boolean |
title | string |
user | object |
body | string |
created_at | string |
updated_at | string |
closed_at | string |
merged_at | string |
merge_commit_sha | string |
head | object |
base | object |
_links | object |
author_association | string |
draft | boolean |
merged | boolean |
mergeable_state | string |
merged_by | object |
comments | integer |
review_comments | integer |
maintainer_can_modify | boolean |
commits | integer |
additions | integer |
deletions | integer |
changed_files | integer |