Files
yara724-api/docs/profile-plate-retirement.md

13 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Retirement of profile plate management
The saved-vehicle feature has been removed from user profiles in every flow (unversioned and V1–V6).
- `POST /user/profile/plate` and `DELETE /user/profile/plate/:id` are removed from routing and Swagger.
- Profile GET/PATCH responses contain personal profile fields, without saved plates.
- Profile PATCH accepts only `birthDay`, `gender`, `city`, `state`, and `address`. Plate arrays and MongoDB update operators are rejected before a database write.
- The unused profile plate service, model registration, and saved-car detail pages have been removed.
- Existing stored records are preserved. No migration or collection deletion is performed.
- Case inquiry plate entry and the shared `AddPlateDto`/`PlatesDto` contracts remain available to the active case workflows.
Verification: the route contract excludes exactly the two retired profile routes. Profile regression tests cover omitted historical plates, blocked direct/operator updates, and preserved personal updates. The full API suite also covers inquiry and expert handoff workflows.