Get

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

Returns the details of the specified pull request.

Request

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

Last modified on Apr 8, 2025

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/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
OSZAR »