Skip to interview prep
Apexed

63. You need to add a required field to an API used by clients that cannot all upgrade together. How would you release it?

MediumWeb & APIs

Technical
Show model answer

Inventory consumers and distinguish a new business requirement from a wire-format requirement. Consider an additive optional field with a compatible server default or a separately versioned operation before making existing requests invalid.

Publish the transition contract, measure remaining old-client usage without sensitive payloads, and agree a retirement plan. Test old and new clients against both rollout phases. Do not remove compatibility based only on the newest client being available.

What interviewers listen for

  • Consumer inventory
  • Compatible transition
  • Evidence before retirement
You need to add a required field to an API used by clients that cannot all upgrade together. How would you release it — Software engineering interview question