MCPcopy Create free account
hub / github.com/cifertech/DisplayKit / api_health

Function api_health

server/main.py:73–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71
72 @app.get("/api/health")
73 def api_health() -> dict[str, str]:
74 payload: dict[str, str] = {
75 "status": "ok",
76 "service": "displaykit",
77 "version": app_version,
78 }
79 if not prod:
80 payload["env"] = "development"
81 return payload
82
83 @app.post("/api/project/summary")
84 def api_project_summary(project: dict[str, Any] = Body(...)) -> dict[str, Any]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected