Open mattkuznicki-ll opened 1 year ago
I think there's 2 major options here:
v1/[login, signup, whatever other paths]
)login/v1/
, signup/v2
, ...)I'd tend to stick with 1.
: it gives us significant freedom with organizing the backend however we want, without really needing to worry the front end about it. 2.
could have us making a lot of assumptions about organization that may not stay true.
There's also a world where we do both (v1/login/v1/), but that's.... gross? I'd rather just bump the global version more often.
I'm more in favor of (1) - /v#/endpoint - than (2) personally as well. Would like to version efforts up to our v1 initial launch as v0 to make it clear things are in flux.
Global Versioning (Our Recommendation @mattkuznicki-ll, @mkantzer):
Component-Based Versioning (Not Our Preference):
Key Thought:
Let's discuss API versioning. In the comments on https://github.com/Lasagna-Love-Portal/bechamel-api/pull/18 there are two votes for a major versioning scheme on the routes, e.g.
How do we want to do versioning?