J
J
jenya77712017-08-25 21:13:22
API
jenya7771, 2017-08-25 21:13:22

How to separate REST API versions?

Hello, I want to ask knowledgeable people how best to locate API versions, in one application or in different ones, is each version a separate application? Now I have made several versions of the API in one application, for example https://site.com/v1/, https://site.com/v2/. For example, when an application crashes, it turns out that all versions fall.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2017-08-25
@jenya7771

API versioning and application crashes are completely unrelated things.
well, ok, split the versions into separate applications and it turns out that when vX falls, it seems like it’s good that vY will work . however, clients using vX at this time will suck and give a shit about working vY .
therefore, you need to think not about how to version (both approaches are good, it all depends on the task / need), but about how to make the application not fall or quickly and automatically rise itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question