Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites
I canโt find the Compute options? Is it possible to have that? It would be amazing if you could
Same for functions: https://appwrite.io/docs/references/cloud/server-nodejs/functions
Maybe I am messing something.
@Meldiron Would you like to help me out?
Heyy, it lives here: https://appwrite.io/docs/references/cloud/server-nodejs/sites#update
Under sites.update, params:
buildSpecificationruntimeSpecification
Be aware, it's PUT request, so you will need to pass all existing details (you can easily sites.get() them all
Curious, what's the term you used to search by? Maybe we can improve param description to make it clearer.
I was looking for the term compute or specifications, it didnโt mention the syntax or what it meant so I assumed it meant something else
Thanks for the help, if I need for example 2 CPU 2 GB ram or 4 CPU 4 GB ram what would it look like?
Maybe it can be more clear about what each thing means and an example
cc <@822500146658017292> , valid feedback for docs
You can do sites.listSpecifications(), if you need to automate this.
Or if you want to hard-code, simply copy value from here: https://github.com/appwrite/appwrite/blob/49bf24d388dced9ae3b36cbb11a9febbbc3d6b63/src/Appwrite/Platform/Modules/Compute/Specification.php#L15
Thanks! So it will be written as: buildSpecification: โs-4vcpu-4gbโ, for example right?
Thanks, this is great!
let me see how i can make the docs more intelligent about this ๐ช
Recommended threads
- Framework categorization for Sites
Hello, I want to deploy my web app via Appwrite SItes. My web app is vite+reactjs. In the Appwrite docs, it creates a vite+react app, and chooses React from the...
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...