Skip to content

Commit b308a55

Browse files
committed
Document repository_url for deployments and deployment statuses
1 parent 4ab5011 commit b308a55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/resources.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1591,7 +1591,8 @@ def webhook_payload(event_name)
15911591
"creator" => USER,
15921592
"created_at" => "2012-07-20T01:19:13Z",
15931593
"updated_at" => "2012-07-20T01:19:13Z",
1594-
"statuses_url" => "https://api.github.com/repos/octocat/example/deployments/1/statuses"
1594+
"statuses_url" => "https://api.github.com/repos/octocat/example/deployments/1/statuses",
1595+
"repository_url" => "https://api.github.com/repos/octocat/example"
15951596
}
15961597

15971598
DEPLOYMENT_STATUS = {
@@ -1604,6 +1605,7 @@ def webhook_payload(event_name)
16041605
"created_at" => "2012-07-20T01:19:13Z",
16051606
"updated_at" => "2012-07-20T01:19:13Z",
16061607
"deployment_url" => "https://api.github.com/repos/octocat/example/deployments/1",
1608+
"repository_url" => "https://api.github.com/repos/octocat/example",
16071609
"deployment" => {
16081610
"id" => 1,
16091611
"ref" => "master",

0 commit comments

Comments
 (0)