Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 823 Bytes

review_request.md

File metadata and controls

27 lines (19 loc) · 823 Bytes

Pull Requests / Review Requests API

Back to the "Pull Requests API" | Back to the navigation

The Pull Request Review API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

$client->api('pull_request')->reviewRequests()->configure();

List all review requests

$reviewRequests = $client->api('pull_request')->reviewRequests()->all('twbs', 'bootstrap', 12);

Create a review request

$client->api('pull_request')->reviewRequests()->create('twbs', 'bootstrap', 12, array('user1', 'user2'));

Remove a review request

$client->api('pull_request')->reviewRequests()->remove('twbs', 'bootstrap', 12, array('user1', 'user2'));