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.

Commit4ab5011

Browse files
committed
Document browser_download_url for release assets
1 parent6c6f69f commit4ab5011

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

‎lib/resources.rb‎

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -572,17 +572,18 @@ def webhook_payload(event_name)
572572
}
573573

574574
RELEASE_ASSET={
575-
"url"=>"https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
576-
"id"=>1,
577-
"name"=>"example.zip",
578-
"label"=>"short description",
579-
"state"=>"uploaded",
580-
"content_type"=>"application/zip",
581-
"size"=>1024,
582-
"download_count"=>42,
583-
"created_at"=>"2013-02-27T19:35:32Z",
584-
"updated_at"=>"2013-02-27T19:35:32Z",
585-
"uploader"=>USER
575+
"url"=>"https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
576+
"browser_download_url"=>"https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
577+
"id"=>1,
578+
"name"=>"example.zip",
579+
"label"=>"short description",
580+
"state"=>"uploaded",
581+
"content_type"=>"application/zip",
582+
"size"=>1024,
583+
"download_count"=>42,
584+
"created_at"=>"2013-02-27T19:35:32Z",
585+
"updated_at"=>"2013-02-27T19:35:32Z",
586+
"uploader"=>USER
586587
}
587588

588589
RELEASE={

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp