Skip to content

Commit 13e8417

Browse files
authored
Merge pull request #39 from netlify/match_deploy_serializer
Add missing deploy information.
2 parents 5bea34c + df39151 commit 13e8417

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

go/models/deploy.go

+20
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ type Deploy struct {
3636
*/
3737
CommitURL string `json:"commit_url,omitempty"`
3838

39+
/* context
40+
*/
41+
Context string `json:"context,omitempty"`
42+
3943
/* created at
4044
*/
4145
CreatedAt string `json:"created_at,omitempty"`
@@ -60,10 +64,18 @@ type Deploy struct {
6064
*/
6165
ID string `json:"id,omitempty"`
6266

67+
/* locked
68+
*/
69+
Locked bool `json:"locked,omitempty"`
70+
6371
/* name
6472
*/
6573
Name string `json:"name,omitempty"`
6674

75+
/* published at
76+
*/
77+
PublishedAt string `json:"published_at,omitempty"`
78+
6779
/* required
6880
*/
6981
Required []string `json:"required,omitempty"`
@@ -76,6 +88,10 @@ type Deploy struct {
7688
*/
7789
ReviewID float64 `json:"review_id,omitempty"`
7890

91+
/* review url
92+
*/
93+
ReviewURL string `json:"review_url,omitempty"`
94+
7995
/* screenshot url
8096
*/
8197
ScreenshotURL string `json:"screenshot_url,omitempty"`
@@ -88,6 +104,10 @@ type Deploy struct {
88104
*/
89105
Skipped bool `json:"skipped,omitempty"`
90106

107+
/* ssl url
108+
*/
109+
SslURL string `json:"ssl_url,omitempty"`
110+
91111
/* state
92112
*/
93113
State string `json:"state,omitempty"`

swagger.yml

+11
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,8 @@ definitions:
12211221
type: string
12221222
url:
12231223
type: string
1224+
ssl_url:
1225+
type: string
12241226
admin_url:
12251227
type: string
12261228
deploy_url:
@@ -1257,8 +1259,17 @@ definitions:
12571259
updated_at:
12581260
type: string
12591261
format: dateTime
1262+
published_at:
1263+
type: string
1264+
format: dateTime
12601265
title:
12611266
type: string
1267+
context:
1268+
type: string
1269+
locked:
1270+
type: boolean
1271+
review_url:
1272+
type: string
12621273
deployFiles:
12631274
type: object
12641275
properties:

0 commit comments

Comments
 (0)