All jobs / Backend developer / API Development

Backend developer interview question · 3–5 years

The interviewer asks: “How do you version a public JSON API?” Strongest answer?

The strongest answer

Compatibility first: additive changes in place. When I must break, a version in the URL or a negotiated header, both documented, with a sunset date. I don't silently reshape fields.

Why it works

Exactly. Most “versions” should be additive. A real break needs a dual-run window, not a surprise. URL vs header is a taste; the contract and the sunset are the job.

What a good answer covers

Answers that fall short

Who gets asked this

More API Development questions