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.

Commit39f3eb7

Browse files
committed
Document missing attributes for repo hooks and org hooks
1 parent005a359 commit39f3eb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎lib/resources.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,18 +1566,23 @@ def fetch_content(key)
15661566
HOOK ||={
15671567
"id"=>1,
15681568
"url"=>"https://api.github.com/repos/octocat/Hello-World/hooks/1",
1569+
"test_url"=>"https://api.github.com/repos/octocat/Hello-World/hooks/1/test",
1570+
"ping_url"=>"https://api.github.com/repos/octocat/Hello-World/hooks/1/pings",
15691571
"name"=>"web",
15701572
"events"=>["push","pull_request"],
15711573
"active"=>true,
15721574
"config"=>
15731575
{'url'=>'http://example.com','content_type'=>'json'},
1576+
"last_response"=>
1577+
{'code'=>200,'status'=>'active','message'=>'OK'},
15741578
"updated_at"=>"2011-09-06T20:39:23Z",
15751579
"created_at"=>"2011-09-06T17:26:27Z",
15761580
}
15771581

15781582
ORG_HOOK ||={
15791583
"id"=>1,
15801584
"url"=>"https://api.github.com/orgs/octocat/hooks/1",
1585+
"ping_url"=>"https://api.github.com/orgs/octocat/hooks/1/pings",
15811586
"name"=>"web",
15821587
"events"=>["push","pull_request"],
15831588
"active"=>true,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp