Add GET /api/v2/info (public — no auth). Extract the /info response type and its assembly out of the v1 handler into pkg/routes/api/shared.BuildInfo() so both API versions return byte-identical info; refactor v1's handler onto it. Add the v2 path to unauthenticatedAPIPaths. |
||
|---|---|---|
| .. | ||
| shared | ||
| v1 | ||
| v2 | ||