Description
This API redeploys a deployed item, when you redeploy you have the option to change the following:
for image you can change the tag
for repository you can change either
the tag
or the branch and commit
Input
Type: application/json
Param | Source | Type | Required | Description |
---|---|---|---|---|
type | query | string | yes |
|
name | query | string | yes |
|
env | query | string | yes |
|
version | query | string | yes |
|
image | body | Object | no | |
tag | body.image | string | yes | |
src | body | Object | no | |
from | body.src | Object | Yes |
body.src.from
Conditional require, with one of the following:
["tag"]
["branch", "commit"]
Param | Source | Type | Required | Description |
---|---|---|---|---|
tag | body.src.from | string | conditional yes | |
branch | body.src.from | string | conditional yes | |
commit | body.src.from | string | conditional yes |
0 Comments