python_template_server.routers.template_server_router¶
Template server router with health and login endpoints.
Classes
|
Router for the template server with health and login endpoints. |
- class python_template_server.routers.template_server_router.TemplateServerRouter(prefix)[source]¶
Router for the template server with health and login endpoints.
- async get_health(request)[source]¶
Get server health.
- Parameters:
request (
Request) – The incoming HTTP request- Return GetHealthResponse:
Health status response
- Raises:
HTTPException – If the server token is not configured
- Return type: