Overview
The CNF Service (Configuración) manages system-wide configuration settings and I18N resources for the HERCULES SGI platform. It provides centralized configuration management that other services consume.Base URL:
Service Path:
http://localhost:4281 (development)Service Path:
/config, /resourcesAuthentication
All endpoints require a valid OAuth2 access token with appropriate permissions.Configuration Endpoints
List Configurations
Retrieve a paginated list of all configuration entries.RSQL filter query for searching configurations
Sorting criteria (e.g.,
name,asc)Get Configuration by Name
Retrieve a specific configuration value by its name.The configuration key name
Create Configuration
Create a new configuration entry.Unique configuration key name
Configuration value
Optional description of the configuration parameter
Update Configuration
Update an existing configuration value.The configuration key name to update
New configuration value
Delete Configuration
Delete a configuration entry.The configuration key name to delete
Restore Default Configuration
Restore a configuration to its default value.The configuration key name to restore
Get Time Zone
Retrieve the current system time zone setting.Resource Endpoints
The CNF service also manages I18N resources (translations) for the web interface.List Resources
Retrieve available language resources.Public Endpoints
The CNF service exposes public endpoints (no authentication required) for configuration and resources that the frontend needs before user login.Get Public Configuration
Get Public Resources
Public endpoints return only non-sensitive configuration values that are safe to expose to unauthenticated clients.
Common Configuration Keys
| Key | Type | Description | Default |
|---|---|---|---|
time-zone | String | System time zone | Europe/Madrid |
date-format | String | Date display format | dd/MM/yyyy |
locale | String | Default locale | es |
max-upload-size | Number | Max file upload size (bytes) | 10485760 |
Error Responses
HTTP status code
Error type
Human-readable error message
Related Documentation
Administrator Guide
System configuration and management
Deployment Configuration
Environment and service configuration