File tree Expand file tree Collapse file tree 3 files changed +0
-11
lines changed
lib/Github/Api/PullRequest Expand file tree Collapse file tree 3 files changed +0
-11
lines changed Original file line number Diff line number Diff line change 11## Pull Requests / Review Requests API
22[ Back to the "Pull Requests API"] ( ../pull_requests.md ) | [ Back to the navigation] ( ../README.md )
33
4- The Pull Request Review API is currently available for developers to preview.
5- To access the API during the preview period, you must provide a custom media type in the Accept header:
6-
7- ``` php
8- $client->api('pull_request')->reviewRequests()->configure();
9- ```
10-
114### List all review requests
125
136``` php
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ class Review extends AbstractApi
1919
2020 public function configure ()
2121 {
22- $ this ->acceptHeaderValue = 'application/vnd.github.black-cat-preview+json ' ;
23-
2422 return $ this ;
2523 }
2624
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ class ReviewRequest extends AbstractApi
1414
1515 public function configure ()
1616 {
17- $ this ->acceptHeaderValue = 'application/vnd.github.black-cat-preview+json ' ;
18-
1917 return $ this ;
2018 }
2119
You can’t perform that action at this time.
0 commit comments