docs(health.md): add /health/readiness and /health/liveliness to docs

This commit is contained in:
Krrish Dholakia 2024-01-19 08:45:23 -08:00
parent 9aaa2c417d
commit c5e144af23
5 changed files with 79 additions and 15 deletions

View file

@ -2734,6 +2734,8 @@ async def config_yaml_endpoint(config_info: ConfigYAML):
@router.get("/test", tags=["health"])
async def test_endpoint(request: Request):
"""
[DEPRECATED] use `/health/liveliness` instead.
A test endpoint that pings the proxy server to check if it's healthy.
Parameters: