Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions v6/heroku.go
Original file line number Diff line number Diff line change
Expand Up @@ -3502,6 +3502,10 @@ type PipelinePromotionCreateOpts struct {
App *struct {
ID *string `json:"id,omitempty" url:"id,omitempty,key"` // unique identifier of app
} `json:"app,omitempty" url:"app,omitempty,key"` // the app which was promoted from
Release *struct {
ID *string `json:"id,omitempty" url:"id,omitempty,key"` // unique identifier of release
} `json:"release,omitempty" url:"release,omitempty,key"` // the specific release to promote from (optional, defaults to current
// release)
} `json:"source" url:"source,key"` // the app being promoted from
Targets []struct {
App *struct {
Expand Down
15 changes: 14 additions & 1 deletion v6/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11283,6 +11283,18 @@
"type": [
"object"
]
},
"release": {
"description": "the specific release to promote from (optional, defaults to current release)",
"properties": {
"id": {
"$ref": "#/definitions/release/definitions/id"
}
},
"strictProperties": true,
"type": [
"object"
]
}
},
"type": [
Expand Down Expand Up @@ -12471,7 +12483,8 @@
"enum": [
"failed",
"pending",
"succeeded"
"succeeded",
"expired"
],
"example": "succeeded",
"readOnly": true,
Expand Down