Closed relekang closed 7 years ago
GET - /_health
/_health
{ health: "ok" | "critical" | "unknown", version: "2.0.0", adapter: { name: "flat-file-db", version: "1.0.0" } }
The endpoint should call db.health that should return "ok" | "critical" | "unknown". If adapter has implemented health it should offload to that function if not it should return"unknown".
"ok" | "critical" | "unknown"
health
"unknown"
GET -
/_health
The endpoint should call db.health that should return
"ok" | "critical" | "unknown"
. If adapter has implementedhealth
it should offload to that function if not it should return"unknown"
.