Interview practice question
Renaming a field in a public API
System Design · APIs and Communication · Beginner
You need to rename a field in a public API that thousands of mobile clients use. How do you do it safely?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Never break existing clients silently.
- Add new field, keep old one.
- Mark old as deprecated in docs.
- Monitor usage of old field.
- Remove in new version after transition.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.