Skip to content
Sharp

HTTP JSON APIs · interview question

Which of the following is a non-breaking change when updating a JSON API?

Multiple choiceEasychapter-11-curatedpremiumhttp-json-apisapi-versioning
Choose one answer
Answer and explanation

Correct answer

B. Adding a new optional field

Why

Adding a new optional field to a JSON API is a non-breaking change because it does not affect existing clients that do not expect this field.

Test yourself on HTTP JSON APIs

A free test with instant, explained results. No account needed.

Start free test
All HTTP JSON APIs questions →