Skip to content

feat(api): standardize health response - #14

Open
pollychen-lab wants to merge 1 commit into
philterd:mainfrom
pollychen-lab:agent/standard-health-response
Open

feat(api): standardize health response#14
pollychen-lab wants to merge 1 commit into
philterd:mainfrom
pollychen-lab:agent/standard-health-response

Conversation

@pollychen-lab

Copy link
Copy Markdown

Summary

Standardizes GET /health to return status: "UP" and the build applicationVersion when storage is healthy, while preserving the 503 response for unreachable storage. The version is now passed from main.go into internal/api, with API tests and documentation updated.

Closes #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return the standard health response from /health

1 participant