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
- Creation failedUnknown sort order:asc. M...
Hi there, I'm getting this error on self hosted when trying to create an Index. Any ideas?
- Redis with user/pass doesn't work NO_AUT...
When trying to externalize my redis to a valkey server, i saw the user/pass doesn't work. After looking the appwrite code, i saw some of the init does not pass...
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...