List

Returns a list of pull requests in the repository.

Required scopes: WORKSPACE, REPOSITORY_READ

Resource URL

GET /workspaces/:domain/projects/:project_name/repository/pulls

URL Parameters

NameTypeDescription
domain
Required
StringThe workspace domain.
project_name
Required
StringThe name ID of the project.

Example

Request

GET https://api.buddy.works/workspaces/buddy/projects/company-website/repository/pulls

Sample Response

HTTP

Status: 200 OK
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
  "url": "https://api.buddy.works/workspaces/buddy/projects/company-website/repository/pulls",
  "pull_requests": [
        {
            "url": "https://api.buddy.works/workspaces/buddy/projects/company-website/repository/pulls/3",
            "name": "pull/3",
            "github_html_url": "https://github.com/orgs/buddy-works/pull-request-repo/pull/3"
        }
  ]
}

Last modified on April 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.