All Questions
Api Design medium

Which of the following is a BREAKING change to a REST API?

  1. A Adding a new optional field to a response body that older clients are configured to ignore during deserialization.
  2. B Removing or renaming a field in the response body that existing clients rely on for their internal logic or UI display.
  3. C Introducing a new optional query parameter that defaults to a backward-compatible value if omitted by the client.
  4. D Adding a completely new endpoint to the API surface area that does not affect the behavior of existing URI paths.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions