Engine

Update engine configuration

Updates the configuration settings of the OIBus engine

put/api/engine

Request body

namestring required

The name of the engine.

portnumber double required

The port on which the engine listens.

proxyEnabledboolean required

Whether the proxy is enabled.

proxyPortnumber double nullable required

The port for the proxy, if enabled.

Example request

{
  "name": "OIBus OT",
  "port": 8080,
  "logParameters": {
    "oia": {
      "interval": 60
    },
    "loki": {
      "password": "pass",
      "username": "user",
      "address": "http://loki:3100",
      "interval": 60
    },
    "database": {
      "maxNumberOfLogs": 10000
    },
    "file": {
      "numberOfFiles": 5,
      "maxFileSize": 10485760
    }
  }
}

Response

Engine settings updated successfully

Changes