...
General Information
...
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
marketplace | /item/maintenance | PUT | N/A | N/A |
Description
This API triggers maintenance operation on a deployed item.
Input
...
Code Block |
---|
Type: application/json |
Input | Source | Required | Type | Description |
---|---|---|---|---|
name | query | Yes | string | Specify the name |
env | query | Yes | string | Specify the env |
type | query | Yes | string | Specify the type |
version | query | Yes | string | Specify the version |
operation | query | Yes | string | Specify the operation |
port | body | Yes | object |
body.port
Conditional require, with one of the following:
[“portType”]
["portType", "portValue"]
Param | Source | Type | Required | Description |
---|---|---|---|---|
portType | body.port | string | Yes conditional | |
portValue | body.port | number | Yes conditional |
Output
...
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Invalid Response
Expand | ||
---|---|---|
| ||
|
Response schema
Follow this link to check out the response JSON Schema
SOAJS Error Codes
...
Code | Description |
---|---|
400 | Business logic required data are missing |
418 | Item version not found! |
419 | No maintenance operations found for this Item version |
420 | Maintenance operation not found for this item version! |
421 | Unable to connect to item |
550 | loadByEnv empty. Unable to find registry |
602 | Model error: + %model_error% |