Description
This API adds an environment.
...
Input
Code Block |
---|
Type: application/json |
Param | Source | Type | Required | Description |
---|---|---|---|---|
code | body | string | yes | environment code |
description | body | string | yes | environment description |
settings | body | object | yes |
|
body.settings
Code Block |
---|
"oneOf": [
{
"required": ["type", "port"]
},
{
"required": ["type", "namespace", "id"]
}
] |
Param | Source | Type | Required | Description |
---|---|---|---|---|
type | body.settings | enum | conditional |
|
port | body.settings | string | conditional | environment description |
namespace | body.settings | string | conditional |
|
id | body.settings | string | conditional |