What should we name the first endpoint? #1
|
We have a health check endpoint in |
Answered by
kristinaxm
Sep 14, 2026
Replies: 1 comment
|
Go with |
0 replies
Answer selected by
github-actions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go with
/api/health. Reasoning: the/apiprefix signals this is part of the versionable HTTP API surface (as opposed to static assets or docs), andhealthis the standard name Kubernetes/load balancers/monitoring tools look for. Avoid/actuator/healthunless we actually pull in Spring Boot Actuator — no point implying a dependency we don't have. Keep it unauthenticated and lightweight so it can be hit frequently by liveness/readiness probes.