Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions doc/pull_request/review_request.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
## Pull Requests / Review Requests API
[Back to the "Pull Requests API"](../pull_requests.md) | [Back to the navigation](../README.md)

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:

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

### List all review requests

```php
Expand Down
2 changes: 0 additions & 2 deletions lib/Github/Api/PullRequest/Review.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ class Review extends AbstractApi

public function configure()
{
$this->acceptHeaderValue = 'application/vnd.github.black-cat-preview+json';

return $this;
}

Expand Down
2 changes: 0 additions & 2 deletions lib/Github/Api/PullRequest/ReviewRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class ReviewRequest extends AbstractApi

public function configure()
{
$this->acceptHeaderValue = 'application/vnd.github.black-cat-preview+json';

return $this;
}

Expand Down