I am new to appwrite, I want to update my endpoint, either remove v1 or change it to something else from trailing url
example From: http://your_hosntame/v1/ To: http://your_hosntame/something
Can anyone share with me how to do it or provide me any documentation for it?
short answer is no, you cant, but why do you need to do something like this?
the reason why we have that /v1 is to allow for changing the version if needed down the line
Okay so how can we change the version from /v1 to /v2?
We don't have a v2 yet.
Again, why do you need to do this?
I just want to version my APIs, as I update the code.
your code? what do you mean?
I mean whenever we put new functionality in future I want to update the app version and same needs to be reflect to url.
whenever we put new functionality in future
What do you mean? Are you modifying the appwrite source code to add custom stuff?
No, not appwrite source code, anyway leave it. I just needed to update the url as we progress with our app.
Like, I have 2 different instances of appwrite operating on the same domain name, I just want few api to be call from one instance and few other apis from other instance.
i would not put multiple instances of appwrite on the same domain. I'd use different domains
Or consider the use case as "API versioning"
"API versioning is the process of managing and tracking changes to an API. It also involves communicating those changes to the API's consumers. Change is a natural part of API development."
Anyway if that is something Appwrite cannot do then just leave it. Not so important as of now. Just was looking if that is possible.
Recommended threads
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...