Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If you develop API the best thing you can do is version them:
foo.com/API/v1/FindBarByID?Bar=1
—returns Bar JSON Object v1
vs
foo.com/API/v2/FindBarByID?Bar=1
—returns Bar JSON Object v2 -
piehole8106yThis is also fail of the docs, which upon googling should always show the latest version, and if you want, you should be able to switch.
-
@piehole the docs cannot do much about it. When I google something about laravel it will show me the latest docs 9 out of 10 times. Once in a while I look for something which had a rename. And will get the old docs.
When I lookup the docs manually it will show me the latest stable version.
When you spend 2 days trying to figure out why your shit is breaking just to realize you have been reading v2 docs and not v3 #fml
rant