Configuration API
The Configuration API is exposed by each API Server instance. It provides methods to manage the API Server's configuration. Note that more methods relating to Deployment Archives are available in the Node Manager's Deployment API. The Configuration API is used in conjunction with the Deployment API in order to deploy a new configuration to an API Server.
The Configuration API provides the following methods:-
- Load a Deployment Archive, i.e. configuration, into an API Server.
- Get the id of the currently loaded Deployment Archive.
The Configuration API resides in the API Servers, therefore it must be invoked via the Routing API in the Admin Node Manager, e.g. https://localhost:8090/api/router/service/instance-1/api/configuration.
Resources
| Resource | Description |
|---|---|
| PUT /api/configuration | Get the API Server to load a new Deployment Archive, i.e. update its currently loaded configuration. |
| GET /api/configuration/archiveId | Get the archive id of the API Server's currently loaded Deployment Archive. |