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
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- I recently applied for the free plan und...
I recently applied for the free plan under the GitHub Student Developer Pack. However, my billing status still shows $15, and it mentions that this amount will ...
- Bug Report: Appwrite Console UI Issue on...
Steps to Reproduce: - Navigate to any collection page in the Appwrite console UI. - Open the menu and click on "Create Collection." - Observe that the dialog to...