...
Code Block |
---|
Type: application/json |
Param | Source | Type | Required | Description | ||
---|---|---|---|---|---|---|
env | body | string | yes | environment code | ||
domain | body | string | false |
| ||
sitePrefix | body | string | false |
| ||
apiPrefix | body | string | false |
|
|
|
|
|
|
|
| ||
|
|
|
|
| ||
|
|
|
|
| ||
port | body | integer | false | |||
protocol | body | enum | false | ["http", "https"] | ||
description | body | string | false | |||
services | body | object | false | |||
controller | body.services | object | false | |||
authorization | body.services.controller | boolean | yes | |||
requestTimeout | body.services.controller | integer | yes | min 20 and max 60 | ||
requestTimeoutRenewal | body.services.controller | integer | yes | min 0 | ||
config | body.services | object | false | |||
awareness | body.services.config | object | yes | |||
cacheTTL | body.services.config.awareness | integer | yes | min 3600 | ||
healthCheckInterval | body.services.config.awareness | integer | yes | min 5000 | ||
autoReloadRegistry | body.services.config.awareness | integer | yes | min 60000 | ||
maxLogCount | body.services.config.awareness | integer | yes | min 5 | ||
autoRegisterService | body.services.config.awareness | boolean | yes | |||
logger | body.services.config | object | yes | free object to control the logger configuration | ||
ports | body.services.config | object | yes | |||
controller | body.services.config.ports | integer | yes | |||
maintenanceInc | body.services.config.ports | integer | yes | min 1000 | ||
randomInc | body.services.config.ports | integer | yes | min 100 | ||
oauth | body.services.config | object | yes | |||
accessTokenLifetime | body.services.config.oauth | number | yes | |||
refreshTokenLifetime | body.services.config.oauth | number | yes | |||
debug | body.services.config.oauth | boolean | yes | |||
getUserFromToken | body.services.config.oauth | boolean | yes | |||
cors | body.services.config | object | yes | free object to control cors settings |