Get Pull Requests
- GET
- /workspaces
- /:workspace
- /projects
- /:project_name
- /repository
- /pulls
- /:number
Returns details of a single pull request
Request 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/my-workspace/projects/my-project/repository/pulls/5",
"name": "pull/5",
"number": 5,
"github_html_url": "https://github.com/company/repo/pull/5"
}STATUS
200 OK