v1
latestOpenAPI 3.0.32026-07-24354865.6 KBPulls
Pull list
Returns a paginated list of pulls for the specified repository
Optionally filterable by:
- state
- start_date
Orderable by:
- pullid
get/{service}/{owner_username}/repos/{repo_name}/pulls/
Path parameters
owner_usernamestring required
username from service provider
repo_namestring required
repository name
service'bitbucket' | 'bitbucket_server' | 'github' | 'github_enterprise' | 'gitlab' | 'gitlab_enterprise' required
Git hosting service provider
Query parameters
orderingstring
Which field to use when ordering the results.
pageinteger
A page number within the paginated result set.
page_sizeinteger
Number of results to return per page.
start_datestring date-time
only return pulls with updatestamp on or after this date
statestring
the state of the pull (open/merged/closed)
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}