File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ title: Deployments | GitHub API
1919 <p >
2020 To access the API during the preview period, you must provide a custom <a href="/v3/media">media type</a> in the <code>Accept</code> header:
2121 <pre>application/vnd.github.preview</pre>
22+ </p >
2223</div >
2324
2425Deployments are a request for a specific ref(branch,sha,tag) to be deployed.
@@ -43,6 +44,7 @@ deployment requests as well as update the status of a deployment as progress is
4344made.
4445
4546Below is a simple sequence diagram for how these interactions would work.
47+
4648<pre >
4749+---------+ +--------+ +-----------+
4850| Tooling | | GitHub | | 3rd Party |
@@ -78,7 +80,7 @@ Users with pull access can view deployments for a repository:
7880
7981### Response
8082
81- <%= headers 200, : pagination => true %>
83+ <%= headers 200, : pagination => default_pagination_rels %>
8284<%= json(: deployment ) { |h| [ h] } %>
8385
8486## Create a Deployment
@@ -149,7 +151,7 @@ Name | Type | Description
149151
150152### Response
151153
152- <%= headers 200, : pagination => true %>
154+ <%= headers 200, : pagination => default_pagination_rels %>
153155<%= json(: deployment_status ) { |h| [ h] } %>
154156
155157## Creating Statuses for a Deployment
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ module Helpers
3838 :Caged => '97c3a8eea9b7eaa9e1e93ea3cd47399f' ,
3939 :foca => 'd0ca2bf32bda9e9ea8c4473ffc3aaa0d' ,
4040 :ymendel => 'b1b1d33e0655e841d4fd8467359c58d0' ,
41- :mastahyeti => '8caa0afdae1a934c30a1998472c63134'
41+ :mastahyeti => '8caa0afdae1a934c30a1998472c63134' ,
42+ :atmos => 'a86224d72ce21cd9f5bee6784d4b06c7'
4243 }
4344
4445 DefaultTimeFormat = "%B %-d, %Y" . freeze
You can’t perform that action at this time.
0 commit comments