Configuration API
These endpoints allow to retrieve, delete and post configurations for BPC modules and module instances.
| Method | Endpoint |
|---|---|
|
|
Description Get a complete version of the BPC configuration. It will contain all modules, instances and their settings, but restricted to the rights the user has. Every module provides the default configuration of itself and for instances. Additionally, some metadata like the model version and infos about the used
|
|
Returns The requested data as JSON HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get a compact version of the BPC configuration. It will contain all modules, instances and their settings, but restricted to the rights the user has.
And it will return only the settings were the Additionally, the metadata about the model version is provided.
|
|
Returns The requested data as JSON HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get the base BPC configuration to initialize the frontend. |
|
Returns The requested data as JSON. HTTP Status Code
Content-Type
|
|
Required Access Rights Can be used without a user session. |
|
|
|
Description Generates unique IDs using "SHA-256". The result is a 256bit long UUID as HEX String. |
|
Query Parameter
|
|
Returns The requested UUIDs as JSON array. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Generates a unique API key using "SHA-256" (256bit long UUID as HEX String) and the ID of the API key. example response
|
|
Returns The requested data as JSON object. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get a new instance ID for the provided module and module type. |
|
Path Parameter
|
|
Returns The requested data as JSON. HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get the configuration of a specific module. The result contains the settings of the module, but restricted to the rights the user has. Additionally, the default configuration of itself and for instances is provided. Contains a compact list of instances with the ID, type and name when it is an instantiable module.
|
|
Path Parameter
|
|
Returns The requested data as JSON HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get the configuration of a specific module instance. In case the configuration of an instance is requested, just the settings the user has access rights for are returned.
In case the configuration of a module is requested, it returns the same as the endpoint without the |
|
Path Parameter
|
|
Returns The requested data as JSON HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Set the module configuration provided in the body. |
|
Consumes
|
|
Path Parameter
|
|
Query Parameter
|
|
Returns HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Set the module instance configuration provided in the body. |
|
Consumes
|
|
Path Parameter
|
|
Query Parameter
|
|
Returns HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Delete a single setting from a module instance. If this instance has a default value for this setting, the default will be restored. |
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Delete a list of settings (provided in the body) from a module instance. |
|
Consumes
|
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Delete a specific module instance. |
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Performs a connection test on a specific module instance. Additional data to perform can be provided in the POST body as JSON object. |
|
Consumes
|
|
Path Parameter
|
|
Returns The error result as JSON, nothing when successful HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get the JSON schema to validate a JSON based module setting. |
|
Path Parameter
|
|
Returns The requested data as JSON HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get the JSON schema to validate a JSON based module instance setting. |
|
Path Parameter
|
|
Returns The requested data as JSON HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |