What is the best practice for introducing v2 of a RESTful API with unchanged endpoints?


April 2019


7 time


In case I have a breaking change with one endpoint only and I need to introduce /v2/... of this endpoint. Should I keep the prefix /v1/ for all other unchanged endpoints ?

Let's say that the current endpoints are:


I need to make a breaking change on /v1/endpoint1. So I am going to introduce /v2/endpoint1.

0 answers