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
- Rec'd a "phishing" email that apparently...
I received an email attempting to convince me that my password expired - and the link wanted to send me to an appwrite instance: (https://updating-projects-ads....
- context deadline exceeded
Hi, in one of my projects i continuously receive context deadline exceeded when trying to reach users API from my local machine: https://fra.cloud.appwrite.io/v...
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...