Update SDK generator and regenerate Java/Kotlin documentation examples

Updated SDK generator to fix Java examples Kotlin syntax issues and regenerated all affected documentation examples across multiple SDK versions.
This commit is contained in:
Chirag Aggarwal
2025-11-25 11:08:11 +05:30
parent 66afd1064d
commit 10171c80da
189 changed files with 376 additions and 392 deletions
@@ -1,6 +1,6 @@
from appwrite.client import Client
from appwrite.services.functions import Functions
from appwrite.enums import
from appwrite.enums import TemplateReferenceType
client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
@@ -14,7 +14,7 @@ result = functions.create_template_deployment(
repository = '<REPOSITORY>',
owner = '<OWNER>',
root_directory = '<ROOT_DIRECTORY>',
type = .COMMIT,
type = TemplateReferenceType.COMMIT,
reference = '<REFERENCE>',
activate = False # optional
)
@@ -1,6 +1,6 @@
from appwrite.client import Client
from appwrite.services.functions import Functions
from appwrite.enums import VCSDeploymentType
from appwrite.enums import VCSReferenceType
client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
@@ -11,7 +11,7 @@ functions = Functions(client)
result = functions.create_vcs_deployment(
function_id = '<FUNCTION_ID>',
type = VCSDeploymentType.BRANCH,
type = VCSReferenceType.BRANCH,
reference = '<REFERENCE>',
activate = False # optional
)
@@ -1,6 +1,6 @@
from appwrite.client import Client
from appwrite.services.sites import Sites
from appwrite.enums import
from appwrite.enums import TemplateReferenceType
client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
@@ -14,7 +14,7 @@ result = sites.create_template_deployment(
repository = '<REPOSITORY>',
owner = '<OWNER>',
root_directory = '<ROOT_DIRECTORY>',
type = .BRANCH,
type = TemplateReferenceType.BRANCH,
reference = '<REFERENCE>',
activate = False # optional
)
@@ -1,6 +1,6 @@
from appwrite.client import Client
from appwrite.services.sites import Sites
from appwrite.enums import VCSDeploymentType
from appwrite.enums import VCSReferenceType
client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
@@ -11,7 +11,7 @@ sites = Sites(client)
result = sites.create_vcs_deployment(
site_id = '<SITE_ID>',
type = VCSDeploymentType.BRANCH,
type = VCSReferenceType.BRANCH,
reference = '<REFERENCE>',
activate = False # optional
)