Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit3469247

Browse files
committed
2 parents95c62bd +4642048 commit3469247

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

‎content/v3/pulls.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Name | Description
2626
`issue`| The API location of this Pull Request's[Issue](/v3/issues/).
2727
`comments`| The API location of this Pull Request's[Issue comments](/v3/issues/comments/).
2828
`review_comments`| The API location of this Pull Request's[Review comments](/v3/pulls/comments/).
29+
`review_comment`| The[URL template](/v3/#hypermedia) to construct the API location for a[Review comment](/v3/pulls/comments/) in this Pull Request's repository.
2930
`commits`|The API location of this Pull Request's[commits](#list-commits-on-a-pull-request).
3031
`statuses`| The API location of this Pull Request's[commit statuses](/v3/repos/statuses/), which are the statuses of its`head` branch.
3132

‎lib/resources.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ def text_html(response, status, head = {})
395395
"issue_url"=>"https://api.github.com/repos/octocat/Hello-World/issues/1",
396396
"commits_url"=>"https://api.github.com/repos/octocat/Hello-World/pulls/1/commits",
397397
"review_comments_url"=>"https://api.github.com/repos/octocat/Hello-World/pulls/1/comments",
398+
"review_comment_url"=>"https://api.github.com/repos/octocat/Hello-World/pulls/comments/{number}",
398399
"comments_url"=>"https://api.github.com/repos/octocat/Hello-World/issues/1/comments",
399400
"statuses_url"=>"https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
400401
"number"=>1,
@@ -430,6 +431,8 @@ def text_html(response, status, head = {})
430431
"https://api.github.com/repos/octocat/Hello-World/issues/1/comments"},
431432
"review_comments"=>{'href'=>
432433
"https://api.github.com/repos/octocat/Hello-World/pulls/1/comments"},
434+
"review_comment"=>{'href'=>
435+
"https://api.github.com/repos/octocat/Hello-World/pulls/comments/{number}"},
433436
"commits"=>{'href'=>
434437
"https://api.github.com/repos/octocat/Hello-World/pulls/1/commits"},
435438
"statuses"=>{'href'=>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp