Open
Conversation
|
johanlundberg
approved these changes
Feb 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Remove deprecated personal_data endpoints
This PR removes four deprecated/unused personal_data endpoints that have zero frontend or backend callers. All functionality is already provided by newer, more focused endpoints.
Changes
Removed Endpoints
POST /user(deprecated)POST /user/nameandPOST /user/language@deprecateddecoratorPersonalDataRequestSchema,PersonalDataSchema,PersonalDataResponseSchema), and 13 testsGET /userGET /all-user-datawhich returns a superset of dataGET /identities/all-user-dataresponseIdentitiesResponseSchema), and 1 testGET /preferences/all-user-dataresponseget_user_preferences()function body intoset_user_preferences()(was only called once, simple one-liner)Test Helpers Removed
_get_user()(2 call sites)_post_user()(13 call sites)_get_preferences()(1 call site)_get_user_identities()(1 call site)All test functionality is preserved through equivalent tests on the replacement endpoints.
Verification
Impact
Breaking Change: Yes - removes 4 API endpoints
However, these endpoints have zero callers in the frontend or backend codebase:
The replacement endpoints (
POST /user/name,POST /user/language,GET /all-user-data) have been available and provide all the same functionality with better separation of concerns.