Create a release

POST {{baseUrl}}/repos/:owner/:repo/releases

Users with push access to the repository can create a release.

This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See [Abuse rate limits](https://developer.github.com/v3/#abuse-rate-limits) and [Dealing with abuse rate limits](https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits) for details.

Request Body

{"tag_name"=>"<string>", "target_commitish"=>"<string>", "name"=>"<string>", "body"=>"<string>", "draft"=>false, "prerelease"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/releases/1&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat/Hello-World/releases/v1.0.0&quot;,&quot;assets_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/releases/1/assets&quot;,&quot;upload_url&quot;:&quot;https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}&quot;,&quot;tarball_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0&quot;,&quot;zipball_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDc6UmVsZWFzZTE=&quot;,&quot;tag_name&quot;:&quot;v1.0.0&quot;,&quot;target_commitish&quot;:&quot;master&quot;,&quot;name&quot;:&quot;v1.0.0&quot;,&quot;body&quot;:&quot;Description of the release&quot;,&quot;draft&quot;:false,&quot;prerelease&quot;:false,&quot;created_at&quot;:&quot;2013-02-27T19:35:32Z&quot;,&quot;published_at&quot;:&quot;2013-02-27T19:35:32Z&quot;,&quot;author&quot;:{&quot;login&quot;:&quot;octocat&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/octocat_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/octocat&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/octocat/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/octocat/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/octocat/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/octocat/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/octocat/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/octocat/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/octocat/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/octocat/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/octocat/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false},&quot;assets&quot;:[{&quot;url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/releases/assets/1&quot;,&quot;browser_download_url&quot;:&quot;https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDEyOlJlbGVhc2VBc3NldDE=&quot;,&quot;name&quot;:&quot;example.zip&quot;,&quot;label&quot;:&quot;short description&quot;,&quot;state&quot;:&quot;uploaded&quot;,&quot;content_type&quot;:&quot;application/zip&quot;,&quot;size&quot;:1024,&quot;download_count&quot;:42,&quot;created_at&quot;:&quot;2013-02-27T19:35:32Z&quot;,&quot;updated_at&quot;:&quot;2013-02-27T19:35:32Z&quot;,&quot;uploader&quot;:{&quot;login&quot;:&quot;octocat&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/octocat_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/octocat&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/octocat/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/octocat/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/octocat/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/octocat/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/octocat/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/octocat/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/octocat/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/octocat/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/octocat/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false}}]}