Files
zpan/e2e
saltbo 41f3e45267 refactor(api)!: enforce strict RESTful route conventions
- Replace verb-based URLs with proper HTTP methods and resource nouns:
  - Objects: merge PATCH /:id/done, /trash, /restore into PATCH /:id
    with discriminated union (action: update|confirm|trash|restore)
  - Objects: POST /:id/copy → POST /copy with copyFrom in body
  - Objects: POST /batch/move, /batch/trash → PATCH /batch;
    POST /batch/delete → DELETE /batch
  - Notifications: POST /:id/read → PATCH /:id,
    POST /read-all → PATCH /, GET /unread-count → GET /stats
  - Users: PUT /:id/status → PATCH /:id
  - Teams: POST /join → POST /:teamId/members
  - Email-config: POST /test → POST /test-messages
  - Invite-codes: POST /validate → POST /validations
- Fix path hierarchy: move admin auth-providers from
  /api/auth-providers/admin/* to /api/admin/auth-providers/*
- Rename recycle-bin to trash across API, frontend, and e2e tests
- Update all integration tests, CF tests, unit tests, and schemas

BREAKING CHANGE: all listed API endpoints have changed paths or methods

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-20 23:18:48 -04:00
..