Get

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

Returns the details of the specified pull request.

Request

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

Last modified on Sep 27, 2024

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:domain/projects/:project_name/repository/pulls/:number" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \
EXAMPLE RESPONSE
{ "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