Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
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

Expand
titleSAMPLE
Code Block
languagejson
{
	"result": true,
	"data": {"deployed": true}
}

Invalid Response

Expand
titleSAMPLE
Code Block
{
    "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%