pull-requests
pull-requests
pull-requests
Edit Pull Request
Edit pull request properties (RESTful endpoint).
Update the state of a pull request (open, closed, draft, ready_for_review). This endpoint requires both repo_id and pr_id for RESTful compliance. The requesting user must have write permissions to the repository.
Rate limit: 30 requests per minute.
patch/v1/organizations/{org_id}/repos/{repo_id}/prs/{pr_id}
Path parameters
org_idinteger required
repo_idinteger required
pr_idinteger required
Headers
{"stackTrail":"paths:/v1/organizations/{org_id}/repos/{repo_id}/prs/{pr_id}:patch:parameters:3:schema","oasType":"schema","type":"unknown","title":"Authorization"}
Request body
Response
Successful Response