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.

Commit9fd2672

Browse files
committed
Merge pull request#437 from github/izuzak-document-hooks-fields
Document missing attributes for repo hooks and org hooks
2 parents14cf992 +d2c4741 commit9fd2672

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎lib/resources.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,8 @@ def fetch_content(key)
15701570
HOOK ||={
15711571
"id"=>1,
15721572
"url"=>"https://api.github.com/repos/octocat/Hello-World/hooks/1",
1573+
"test_url"=>"https://api.github.com/repos/octocat/Hello-World/hooks/1/test",
1574+
"ping_url"=>"https://api.github.com/repos/octocat/Hello-World/hooks/1/pings",
15731575
"name"=>"web",
15741576
"events"=>["push","pull_request"],
15751577
"active"=>true,
@@ -1582,6 +1584,7 @@ def fetch_content(key)
15821584
ORG_HOOK ||={
15831585
"id"=>1,
15841586
"url"=>"https://api.github.com/orgs/octocat/hooks/1",
1587+
"ping_url"=>"https://api.github.com/orgs/octocat/hooks/1/pings",
15851588
"name"=>"web",
15861589
"events"=>["push","pull_request"],
15871590
"active"=>true,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp