List

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

Returns a list of pull requests in the repository.

Request

REQUIRED SCOPES
WORKSPACE, REPOSITORY_READ
URL PARAMETERS
domainrequired string
The workspace domain.
project_namerequired string
The name ID of the project.

Last modified on Sep 23, 2024

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:domain/projects/:project_name/repository/pulls" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \
EXAMPLE RESPONSE
{ "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" } ] }
STATUS
200 OK
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999