Files
SkyMoney/docs/api-phase1-move-log.md
Ricearoni1245 60cdcf1fcf
All checks were successful
Deploy / deploy (push) Successful in 1m27s
Security Tests / security-non-db (push) Successful in 20s
Security Tests / security-db (push) Successful in 25s
phase 1 of cleanup: move GET health, GET auth/session, and PATCH endpoints
2026-03-15 15:05:38 -05:00

3.0 KiB

API Phase 1 Move Log

Date: 2026-03-15
Scope: Move low-risk endpoints out of api/src/server.ts into dedicated route modules.

Route Registration Changes

Endpoint Movements

  1. GET /health
  1. GET /health/db (non-production only)
  1. GET /auth/session
  1. POST /app/update-notice/ack
  1. PATCH /me
  1. PATCH /me/password
  1. PATCH /me/income-frequency
  • Moved to user.ts
  • References:
    • Currently no frontend direct calls found by static search.
  1. PATCH /user/config

Notes

  • server.ts endpoint blocks for the above routes were removed to prevent duplicate registration.
  • Existing path contracts were preserved (same method + path).
  • openPaths and auth/CSRF hook behavior remain unchanged.