forked from Yara724/api
1.1 KiB
1.1 KiB
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/plateandDELETE /user/profile/plate/:idare removed from routing and Swagger.- Profile GET/PATCH responses contain personal profile fields, without saved plates.
- Profile PATCH accepts only
birthDay,gender,city,state, andaddress. 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/PlatesDtocontracts 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.