https://github.com/login/oauth/authorize?client_id=<client_id string>&scope=repohttps://github.com/login/oauth/authorizehttp://www.info-town.jp/?code=<string>curl -X POST https://github.com/login/oauth/access_token  -d "client_id=<client_id string>&client_secret=<client_secret string>&code=<code string>"access_token=<access_token string>&scope=repo&token_type=bearercurl -H "Authorization: token <access_token string>" -i https://api.github.com/repos/s-hiroshi/learnings-hiroshi/learningリポジトリを前提に記載する。
curl -H "Authorization: token <access_token string>" https://api.github.com/repos/s-hiroshi/learning/pulls/36
公式ドキュメントでは、上記リクエストに対するレスポンスのrequested_reviewersプロパティにReviewersが設定されると記載されているが、実際は空になっている。
以下のリンクで同様の問題が指摘されている。 
Get repository pulls always returns empty array for requested_reviewers · Issue #1030 · octokit/octokit.rb
curl -H "Authorization: token <access_token string>" https://api.github.com/repos/s-hiroshi/learning/pulls/36/reviews
curl -H "Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxx" -H "Accept: application/vnd.github.symmetra-preview+json" https://api.github.com/repos/s-hiroshi/learning/pulls\?state\=all -o pull-request.json
# stateクエリ文字を付与しないとOpenなものだけ取得
curl -H "Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxx" -H "Accept: application/vnd.github.symmetra-preview+json" https://api.github.com/repos/s-hiroshi/learning/pulls -o pull-request.json
https://developer.github.com/v3/pulls/
| オプション | 内容 | 
|---|---|
| -i | レスポンスヘッダを表示 | 
| -X | HTTPメソッドを指定 | 
| オプション | 内容 | 
|---|---|
| -i | レスポンスヘッダを表示 | 
| -X | HTTPメソッドを指定 |