v2
latestSwagger 2.02026-08-01331211921.0 KBPullrequests
List pull requests that contain a commit
Returns a paginated list of all pull requests as part of which this commit was reviewed. Pull Request Commit Links app must be installed first before using this API; installation automatically occurs when 'Go to pull request' is clicked from the web interface for a commit's details.
get/repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests
Path parameters
workspacestring required
This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces
repo_slugstring required
The repository; either the UUID in curly braces, or the slug
commitstring required
The SHA1 of the commit
Query parameters
pageinteger
Which page to retrieve
pageleninteger
How many pull requests to retrieve per page
Response
The paginated list of pull requests.