Answer the question
In order to leave comments, you need to log in
How to separate API versions on the server?
Hello! I am writing an API in php. Quite voluminous, but I don’t quite understand how to do it, several versions of it ...
For example, a request can come with the v1.0.0 parameter , but suddenly I needed to create version v1.0.1, in order, for example, to add one more parameter when submitting posts ...
was:
{
"id": 1,
"title": "заголовок"
}
{
"id": 1,
"title": "заголовок",
"descr": "текст"
}
Answer the question
In order to leave comments, you need to log in
after some time there will be so many of these IFs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question