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 1
1
## Pull Requests / Review Requests API
2
2
[ Back to the "Pull Requests API"] ( ../pull_requests.md ) | [ Back to the navigation] ( ../README.md )
3
3
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
-
11
4
### List all review requests
12
5
13
6
``` php
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ class Review extends AbstractApi
19
19
20
20
public function configure ()
21
21
{
22
- $ this ->acceptHeaderValue = 'application/vnd.github.black-cat-preview+json ' ;
23
-
24
22
return $ this ;
25
23
}
26
24
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ class ReviewRequest extends AbstractApi
14
14
15
15
public function configure ()
16
16
{
17
- $ this ->acceptHeaderValue = 'application/vnd.github.black-cat-preview+json ' ;
18
-
19
17
return $ this ;
20
18
}
21
19
You can’t perform that action at this time.
0 commit comments