βοΈSettings
This page provides a description of the available API routes for managing settings.
The API offers a range of modules and extensions that require configuration. In order to faciliate the process of module configuration, the API provides methods for accessing and managing stored configurations. These configurations are represented by a Settings
class.
Every module has its unique identifier, which is used as key when accessing given configuration section.
API methods
Get settings
GET
http://{server-address}/settings
Returns all stored settings. Result is of type Dictionary<string,
Settings
>
. The dictionary keys represents settings section keys.
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Authorization header with authorization token. |
Get settings section
GET
http://{server-address}/settings/{key}
Result is of type Settings.
Path Parameters
Name | Type | Description |
---|---|---|
key* | string | The settings section identifier. |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Authorization header with authorization token. |
Create or update settings section
PUT
http://{server-address}/settings/{key}
Updates existing or creates new settings section. The result of this operation is of type Settings.
Required rights
No user rights are required.
Path Parameters
Name | Type | Description |
---|---|---|
key* | string | The settings section identifier. |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Authorization header with authorization token. |
Request Body
Name | Type | Description |
---|---|---|
(body)* | Settings | Settings object to store. |
Partially update settings section
PATCH
http://{server-address}/settings
This method updates only a subset of the settings section. Any properties that are not present in the request body will remain unchanged. The result of this operation is of type Settings.
Required rights
No user rights are required.
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Authorization header with authorization token. |
Request Body
Name | Type | Description |
---|---|---|
(body)* | Settings | Partial settings object to store. |
Delete settings section
DELETE
http://{server-address}/settings/{key}
Required rights
No user rights are required.
Path Parameters
Name | Type | Description |
---|---|---|
name* | string | The settings section identifier. |
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Authorization header with authorization token. |
Last updated