Endpoints

POST /export

Recives an EvalCommand pipeline as body:

[
  {
    "store": "<name of the ConfigStore as appears in the .configu file of the server>",
    "set": "<ConfigSet path>",
    "schema": {
      "name": "<name of the ConfigSchema>",
      "contents": {
        "{{key}}": "<Cfgu>"
      }
    },
    "configs": {
      "{{key}}": "<value to override>"
    }
  },
  {
    <another Eval ...>
  }
]

Exports the requested configuration as an object.

{
  "key": "value"
}

GET /docs

Responds with an interactive API documentation page.

Configu Proxy Server Docs

GET /live

Responds with a 200 OK status code with the uptime of the server in seconds.

{ "uptime": 42 }

GET /ready

Responds with a

  • 200 OK status code if the server is ready to accept requests.
{ "status": "ready" }
  • 503 Service Unavailable status code with an empty response if the server is not ready (started, shutting down, etc).