My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

API versioning - how do you do it?

Keerthana Srinivasan's photo
Keerthana Srinivasan
·Nov 19, 2015

What's the preferred option for API versioning?

Do you have it in the path like /api/v1? Or in the HTTP headers? Or any other way?

What are the pros and cons to this?