mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
Updated SDK generator to fix Java examples Kotlin syntax issues and regenerated all affected documentation examples across multiple SDK versions.
620 B
620 B
using Appwrite; using Appwrite.Enums; using Appwrite.Models; using Appwrite.Services;
Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key
Sites sites = new Sites(client);
Deployment result = await sites.CreateTemplateDeployment( siteId: "<SITE_ID>", repository: "", owner: "", rootDirectory: "<ROOT_DIRECTORY>", type: TemplateReferenceType.Branch, reference: "", activate: false // optional );