0
Is it good practice to use our API’s? ex: (http://localhost/api/v1/Resources) If so, what best practice is there for you? I’m using Apache server with Silex PHP micro framework, could I create a folder/directory inside the app named "v1" or should this be handled in the routes? Which is the best approach?
You accurate Versionar? Versions are incompatible?
– Ricardo Moraleida
not yet, but what if you need to modify something in the future?
– Daniel Vieira Junior
I read the White House standards api, but I didn’t understand how versioning is done. https://github.com/WhiteHouse/api-standards
– Daniel Vieira Junior
There they always require Versionar in the URL, as in your example. It makes sense if you think they are data/ government systems and such. You have to know your case. It makes sense if you’re going to release incompatible changes - if your API is long enough for that, even - or if it’s too complicated to update the systems that will consume your API. Everything depends on.
– Ricardo Moraleida