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
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...