Skip to content

Commit 5587252

Browse files
committed
Merge pull request github#231 from jdennes/meta-api-correction
Correction to the /meta API documentation to include git field in output.
2 parents de608b8 + 986f27a commit 5587252

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

content/v3/meta.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ hooks
2020
service hooks will originate from. Subscribe to the [API Changes blog](http://developer.github.com/changes/)
2121
or follow [@GitHubAPI](https://twitter.com/GitHubAPI) on Twitter to get
2222
updated when this list changes.
23+
24+
git
25+
: An Array of IP addresses in CIDR format specifying the Git servers at GitHub.

lib/resources.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,8 @@ def text_html(response, status, head = {})
10101010
}
10111011

10121012
META = {
1013-
:hooks => ['127.0.0.1/32']
1013+
:hooks => ['127.0.0.1/32'],
1014+
:git => ['127.0.0.1/32']
10141015
}
10151016

10161017
BLOB = {

0 commit comments

Comments
 (0)