Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

/api/v1 ---> /api/v2 if you have breaking changes. You should expect things go be loosely coupled and potentially be updated independently. Maintain backwards compatibility by versioning things like the above


Having the version in the API URL is one way, but there are other methods. Examined by Troy Hunt here:

http://www.troyhunt.com/2014/02/your-api-versioning-is-wrong...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: