Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

General Information


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

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

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

Invalid Response

 SAMPLE
{
    "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

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%

  • No labels