All jobs / Backend developer / API Development
Backend developer interview question · 5+ years
The interviewer asks: “You're building an internal platform API other teams will live on. What changes?” Strongest answer?
The strongest answer
Compatibility is the product: SLOs, versioning, a deprecation policy, example clients, and a change process that doesn't break them on Tuesday. I optimise for their deploy cadence, not ours.
Why it works
Exactly. Platform APIs have customers. The bar is closer to public API than to a private controller. Reliability and boring evolution beat cleverness.
What a good answer covers
- Internal platforms still have customers.
- Version, deprecate, overlap.
- SLOs for the API, not just the app.
- Don't publish the database.
Answers that fall short
- Close, but not the strongest: Move fast; they're internal so we can break them.
Internal is how you get a surprise incident in someone else's SLO. Treat them as customers. - Weak: One weekly dump of breaking changes in Slack.
Slack is not a contract. Changelogs, versions, and overlapping run periods are. - Red flag: Expose our database as the platform so they can join whatever they need.
Your schema is not their API. You'll never be able to change an index again.
Who gets asked this
More API Development questions
- The interviewer asks: “When do you use GET versus POST?” Strongest answer?
- The interviewer asks: “What's the difference between HTTP 401 and 403?” Strongest answer?
- The interviewer asks: “When is 404 the right status, and when is 400?” Strongest answer?
- The interviewer sketches /getOrder and /doDeleteUser. Strongest design?
- The interviewer asks: “Which HTTP methods are safe to retry, and why?” Strongest answer?
- The interviewer asks: “How do you send and read JSON on an HTTP API?” Strongest answer?
- The interviewer asks: “What status do you return when POST creates a resource?” Strongest answer?
- The interviewer asks: “When do you nest URLs like /orders/12/items?” Strongest answer?