PUT - /item/deploy

General Information


Service

API

Method

Data Models

Workflow

Service

API

Method

Data Models

Workflow

marketplace

/item/deploy

PUT

N/A

N/A

Description

This API deploy an item.


Input

Type: application/json

Param

Source

Type

Required

Description

Param

Source

Type

Required

Description

type

query

string

Yes

 

name

query

string

Yes

 

env

query

string

Yes

 

version

query

string

Yes

 

 

Output


Response

SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response 

Valid Response

{ "result": true, "data": {"deployed": true} }

Invalid Response

{ "result":false, "errors":{ "codes":[602], "details":[ { "code":602, "message":"Model error: + %model_error%" } ] } }

Response schema

Follow this link to check out the response JSON Schema

SOAJS Error Codes


 

Code

Description

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

412

Invalid git information

416

Unable to find healthy configuration in registry.Unable to find healthy configuration in registry.

417

Config Item not found

418

Item version not found!

422

Error: + %error%

501

Item not found!

503

Service Error: + %service_error”

602

Model error: + %model_error%