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();$reviewRequests = $client->api('pull_request')->reviewRequests()->all('twbs', 'bootstrap', 12);$client->api('pull_request')->reviewRequests()->create('twbs', 'bootstrap', 12, array('user1', 'user2'));$client->api('pull_request')->reviewRequests()->remove('twbs', 'bootstrap', 12, array('user1', 'user2'));