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

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

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.