PUT - /item/deploy/redeploy
General Information
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
marketplace | /item/deploy/redeploy | PUT | N/A | N/A |
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 | Â |
Â
Output
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS responseÂ
Valid Response
Invalid Response
Response schema
Follow this link to check out the response JSON Schema
SOAJS Error Codes
Â
Code | Description |
---|---|
400 | Business logic required data are missing |
406 | You are not allowed to deploy this item in this environment! |
407 | The deploy configuration of this Environment was not found |
410 | The deploy configuration of this version was not found |
413 | Item not deployed! |
421 | Unable to connect to item |
423 | Unable to redeploy item! |
501 | Item is locked! |
503 | Service Error + + %service_error% |
602 | Model error: + %model_error% |
Â