How best to handle API versioning?
Is a route group the best way, or is there something else?
Thanks
Kev
How best to handle API versioning?
Is a route group the best way, or is there something else?
Thanks
Kev
If I understand you correctly, you’re asking how to handle different versions of your API.
I would do the following (via Routes):
/site/api/v1
/site/api/v2
etc.
Hope this helps.