PUT - /registry
Description
This API updates a registry.
Input
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 |
Â