Overview
The Server Configuration API provides endpoints to retrieve and update server configuration settings. These endpoints allow administrators to manage server behavior, metadata options, branding, and other system-wide settings.Get Server Configuration
Retrieves the complete server configuration.Endpoint
Authentication
Required. Any authenticated user can retrieve the configuration.Response
Returns aServerConfiguration object with all server settings.
Example Request
Example Response
Response Codes
200- Configuration retrieved successfully
Update Server Configuration
Updates the complete server configuration.Endpoint
Authentication
Required. User must have elevated permissions (administrator).Request Body
Send a completeServerConfiguration object with the desired settings.
Complete ServerConfiguration object with updated values
Example Request
Response Codes
204- Configuration updated successfully403- User does not have permission to update configuration
Get Named Configuration
Retrieves a specific named configuration section.Endpoint
Authentication
Required.Path Parameters
The configuration key/section name (e.g., “branding”, “encoding”)
Response
Returns the configuration object for the specified key.Example Request
Example Response
Response Codes
200- Configuration retrieved successfully
Update Named Configuration
Updates a specific named configuration section.Endpoint
Authentication
Required. User must have elevated permissions (administrator).Path Parameters
The configuration key/section name
Request Body
Configuration object with updated values
Example Request
Response Codes
204- Configuration updated successfully403- User does not have permission to update configuration
Get Default Metadata Options
Retrieves the default MetadataOptions object.Endpoint
Authentication
Required. User must have elevated permissions (administrator).Response
Returns a defaultMetadataOptions object.
Example Request
Example Response
Response Codes
200- Default metadata options retrieved successfully403- User does not have permission
Update Branding Configuration
Updates the branding configuration for the server.Endpoint
Authentication
Required. User must have elevated permissions (administrator).Request Body
Custom text to display on the login page
Custom CSS to apply to the web interface
Whether to enable the custom splashscreen
Example Request
Response Codes
204- Branding configuration updated successfully403- User does not have permission to update branding configuration
Notes
- Configuration changes may require a server restart to take full effect
- Always retrieve the current configuration before updating to avoid overwriting unintended settings
- Some configuration options affect server performance and should be adjusted carefully
- Branding configuration updates only modify the specified properties and preserve other settings