Prepend something like /api/v1/ to all OpenGPTs API enpoints.
Why?
The OpenGPTs API is pretty much guaranteed to change over time. While the current API is in a very high state of flux, eventually it will stabilize and become a 1.0 release. Adding versioning to API paths early on will make version update/deprecation/removal more manageable.
What?
Prepend something like
/api/v1/
to all OpenGPTs API enpoints.Why?
The OpenGPTs API is pretty much guaranteed to change over time. While the current API is in a very high state of flux, eventually it will stabilize and become a 1.0 release. Adding versioning to API paths early on will make version update/deprecation/removal more manageable.