-
Notifications
You must be signed in to change notification settings - Fork 13
Add health response uptime and ISO timestamp metadata #32
Copy link
Copy link
Open
Labels
Stellar WaveIssue proposed for the Drips Stellar Wave programIssue proposed for the Drips Stellar Wave programarea: apiAPI serviceAPI servicecomplexity: highExpected high implementation complexityExpected high implementation complexitydrips-candidateCandidate for a Drips Stellar WaveCandidate for a Drips Stellar WaveenhancementNew feature or requestNew feature or request
Description
Metadata
Metadata
Assignees
Labels
Stellar WaveIssue proposed for the Drips Stellar Wave programIssue proposed for the Drips Stellar Wave programarea: apiAPI serviceAPI servicecomplexity: highExpected high implementation complexityExpected high implementation complexitydrips-candidateCandidate for a Drips Stellar WaveCandidate for a Drips Stellar WaveenhancementNew feature or requestNew feature or request
Goal
Make the public health endpoint more useful for operators and demos by returning basic runtime metadata.
Scope
Acceptance criteria
GET /healthincludestimestampas a valid ISO string.GET /healthincludesuptimeSecondsas a non-negative number.npm test --workspace @query402/api -- src/routes/public.test.tspasses.npm run typecheck --workspace @query402/apipasses.Notes
This should be a small API-only change with one focused test update.