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.

ParameterTypeRequiredAllowed values
numberstringRequiredAny
ownerstringRequiredUp to 39 characters
repostringRequiredUp to 100 characters

Example request

cURLshell
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.

FieldType
search_parametersobject
rate_limitobject
urlurl
idinteger
node_idstring
html_urlurl
diff_urlurl
patch_urlurl
issue_urlurl
commits_urlurl
review_comments_urlurl
review_comment_urlurl
comments_urlurl
statuses_urlurl
numberinteger
statestring
lockedboolean
titlestring
userobject
bodystring
created_atstring
updated_atstring
closed_atstring
merged_atstring
merge_commit_shastring
headobject
baseobject
_linksobject
author_associationstring
draftboolean
mergedboolean
mergeable_statestring
merged_byobject
commentsinteger
review_commentsinteger
maintainer_can_modifyboolean
commitsinteger
additionsinteger
deletionsinteger
changed_filesinteger