(Backend) New Config Endpoint (#12460)

This commit is contained in:
Tim O'Farrell
2026-01-15 22:06:39 -07:00
committed by GitHub
parent 102715a3c9
commit c8594a2eaa
8 changed files with 111 additions and 2 deletions

View File

@@ -67,10 +67,13 @@ async def get_security_analyzers() -> list[str]:
return sorted(SecurityAnalyzers.keys())
@app.get('/config', response_model=dict[str, Any])
@app.get('/config', response_model=dict[str, Any], deprecated=True)
async def get_config() -> dict[str, Any]:
"""Get current config.
This method has been replaced with the /v1/web-client/config endpoint,
and will be removed as part of the V0 cleanup on 2026-04-01
Returns:
dict[str, Any]: The current server configuration.
"""