--- method: GET path: /api/system/config auth: jwt+admin area: system --- # Get System Configuration Returns all system-wide configuration key/value pairs (backed by the `system_config` table). ## Example response ```json example-response { "base_url": "https://books.example.com", "opds_base_url": "https://books.example.com/opds", "api_base_url": "https://books.example.com/api" } ``` The key set is admin-defined and intentionally open — the endpoint emits\nwhatever config keys exist in `system_settings`. Treat the shape as a\ndynamic string-keyed map; do not code against a fixed key list. ## Errors | Status | Body | When | | ------ | ---- | ---- | | 500 | `{"error": "failed to fetch system config"}` | unexpected server error |