Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable versioning of API paths #273

Open
ptgoetz opened this issue Apr 5, 2024 · 0 comments
Open

Enable versioning of API paths #273

ptgoetz opened this issue Apr 5, 2024 · 0 comments

Comments

@ptgoetz
Copy link
Collaborator

ptgoetz commented Apr 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant