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

Stripe also allows a header to declare the version, which is how you should upgrade (test each endpoint one by one, and when they're all migrated, upgrade the account api version).

I personally find this a much saner way to declare api versions (version in header). Specially if the platform supports Webhooks which have urls in the payload: if your API declares version in the path, which version do you use in the webhooks urls?



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

Search: