PUT - /item/deploy/cd
General Information
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
marketplace | /item/deploy/cd | PUT | N/A | N/A |
Description
This API deploys an item used by CI
Input
Type: application/json
Param | Source | Type | Required | Description |
---|---|---|---|---|
token | query | string | yes |
|
repo_token | query | string | no |
|
name | query | string | yes |
|
version | query | string | yes |
|
type | query | string | yes |
|
config | body | Object | yes |
|
from | body.config | Object | yes |
|
click here to learn more about SOAJS Smart Continuous Delivery
body.config.from
Conditional require, with one of the following:
["tag"]
["branch", "commit"]
["image_tag", "image_name", "image_prefix"]
["image_tag"]
Param | Source | Type | Required | Description |
---|---|---|---|---|
tag | body.config.from | string | conditional yes |
|
branch | body.config.from | string | conditional yes |
|
commit | body.config.from | string | conditional yes |
|
image_name | body.config.from | string | conditional yes |
|
image_tag | body.config.from | string | conditional yes |
|
image_prefix | body.config.from | string | conditional yes |
|
env | body.config.from | array | no |
|
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 |
503 | Service Error: + %service_error” |
602 | Model error: + %model_error% |