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

Commit5ff1e1c

Browse files
committed
Merge pull requestgithub#51 from bguthrie/add-undocumented-contributions-key-to-contributors-docs
Updated docs to reflect the fact that the /contributors call returns the...
2 parentsc164ba2 +3954dd6 commit5ff1e1c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎content/v3/repos.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ in results.
176176
###Response
177177

178178
<%= headers 200 %>
179-
<%= json(:user) { |h|[h] } %>
179+
<%= json(:contributor) { |h|[h] } %>
180180

181181
##List languages
182182

‎lib/resources.rb‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ def json(key)
6464
"url"=>"https://api.github.com/users/octocat"
6565
}
6666

67+
CONTRIBUTOR=USER.merge({
68+
"contributions"=>32
69+
})
70+
6771
FULL_USER=USER.merge({
6872
"name"=>"monalisa octocat",
6973
"company"=>"GitHub",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp