GET /repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests
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.
Servers
- https://api.bitbucket.org/2.0
Path parameters
Name | Type | Required | Description |
---|---|---|---|
commit |
String | Yes |
The SHA1 of the commit |
repo_slug |
String | Yes |
The repository; either the UUID in curly braces, or the slug |
workspace |
String | Yes |
This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
page |
Integer | No |
Which page to retrieve Default value: 1 |
pagelen |
Integer | No |
How many pull requests to retrieve per page Default value: 30 |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.