We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b526d commit 6e4f231Copy full SHA for 6e4f231
docs/api.md
@@ -130,6 +130,18 @@ Responses:
130
- 400 Validation error → `VALIDATION_ERROR`
131
- 401 If not authenticated / expired (distinct codes as above)
132
133
+## Public Utility
134
+### GET /api/version
135
+Returns the deployed backend version. Public and unauthenticated.
136
+
137
+Success (200):
138
+```json
139
+{ "version": "0.1.0" }
140
+```
141
142
+Notes:
143
+- In production, the value reflects the JAR manifest when available; falls back to `project.version` during development/test.
144
145
## Error Handling Summary
146
| Scenario | Status | error code | Notes |
147
|----------|--------|------------|-------|
0 commit comments