@@ -392,7 +392,10 @@ def text_html(response, status, head = {})
392392 "html_url" => "https://github.com/octocat/Hello-World/pull/1" ,
393393 "diff_url" => "https://github.com/octocat/Hello-World/pulls/1.diff" ,
394394 "patch_url" => "https://github.com/octocat/Hello-World/pulls/1.patch" ,
395- "issue_url" => "https://github.com/octocat/Hello-World/issue/1" ,
395+ "issue_url" => "https://api.github.com/repos/octocat/Hello-World/issues/1" ,
396+ "commits_url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1/commits" ,
397+ "review_comments_url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1/comments" ,
398+ "comments_url" => "https://api.github.com/repos/octocat/Hello-World/issues/1/comments" ,
396399 "statuses_url" => "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" ,
397400 "number" => 1 ,
398401 "state" => "open" ,
@@ -421,10 +424,14 @@ def text_html(response, status, head = {})
421424 "https://api.github.com/repos/octocat/Hello-World/pulls/1" } ,
422425 "html" => { 'href' =>
423426 "https://github.com/octocat/Hello-World/pull/1" } ,
427+ "issue" => { 'href' =>
428+ "https://api.github.com/repos/octocat/Hello-World/issues/1" } ,
424429 "comments" => { 'href' =>
425430 "https://api.github.com/repos/octocat/Hello-World/issues/1/comments" } ,
426431 "review_comments" => { 'href' =>
427432 "https://api.github.com/repos/octocat/Hello-World/pulls/1/comments" } ,
433+ "commits" => { 'href' =>
434+ "https://api.github.com/repos/octocat/Hello-World/pulls/1/commits" } ,
428435 "statuses" => { 'href' =>
429436 "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" }
430437 } ,
0 commit comments