diff --git a/README.md b/README.md
index 7a8e368..f8dab1a 100644
--- a/README.md
+++ b/README.md
@@ -2,12 +2,12 @@
![Maven Central](https://img.shields.io/maven-central/v/io.appwrite/sdk-for-android.svg?color=green&style=flat-square)
![License](https://img.shields.io/github/license/appwrite/sdk-for-android.svg?style=flat-square)
-![Version](https://img.shields.io/badge/api%20version-1.5.6-blue.svg?style=flat-square)
+![Version](https://img.shields.io/badge/api%20version-1.6.0-blue.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
-**This SDK is compatible with Appwrite server version 1.5.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-android/releases).**
+**This SDK is compatible with Appwrite server version 1.6.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-android/releases).**
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Android SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
@@ -38,7 +38,7 @@ repositories {
Next, add the dependency to your project's `build.gradle(.kts)` file:
```groovy
-implementation("io.appwrite:sdk-for-android:5.1.1")
+implementation("io.appwrite:sdk-for-android:6.0.0")
```
### Maven
@@ -49,7 +49,7 @@ Add this to your project's `pom.xml` file:
io.appwrite
sdk-for-android
- 5.1.1
+ 6.0.0
```
diff --git a/docs/examples/java/account/create-anonymous-session.md b/docs/examples/java/account/create-anonymous-session.md
index 46ae275..1639cdc 100644
--- a/docs/examples/java/account/create-anonymous-session.md
+++ b/docs/examples/java/account/create-anonymous-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-email-password-session.md b/docs/examples/java/account/create-email-password-session.md
index 85d460e..817bda0 100644
--- a/docs/examples/java/account/create-email-password-session.md
+++ b/docs/examples/java/account/create-email-password-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-email-token.md b/docs/examples/java/account/create-email-token.md
index adf8b3d..a4bc83b 100644
--- a/docs/examples/java/account/create-email-token.md
+++ b/docs/examples/java/account/create-email-token.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-j-w-t.md b/docs/examples/java/account/create-j-w-t.md
index 13e6e49..9aeb29c 100644
--- a/docs/examples/java/account/create-j-w-t.md
+++ b/docs/examples/java/account/create-j-w-t.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-magic-u-r-l-token.md b/docs/examples/java/account/create-magic-u-r-l-token.md
index 21108cc..e57758a 100644
--- a/docs/examples/java/account/create-magic-u-r-l-token.md
+++ b/docs/examples/java/account/create-magic-u-r-l-token.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-mfa-authenticator.md b/docs/examples/java/account/create-mfa-authenticator.md
index cc64341..b8b06c3 100644
--- a/docs/examples/java/account/create-mfa-authenticator.md
+++ b/docs/examples/java/account/create-mfa-authenticator.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-mfa-challenge.md b/docs/examples/java/account/create-mfa-challenge.md
index a2c2aa4..d9d9bb6 100644
--- a/docs/examples/java/account/create-mfa-challenge.md
+++ b/docs/examples/java/account/create-mfa-challenge.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticationFactor;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-mfa-recovery-codes.md b/docs/examples/java/account/create-mfa-recovery-codes.md
index 8ed8573..6e23ad2 100644
--- a/docs/examples/java/account/create-mfa-recovery-codes.md
+++ b/docs/examples/java/account/create-mfa-recovery-codes.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-o-auth2session.md b/docs/examples/java/account/create-o-auth2session.md
index ba284a1..59f5b41 100644
--- a/docs/examples/java/account/create-o-auth2session.md
+++ b/docs/examples/java/account/create-o-auth2session.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-o-auth2token.md b/docs/examples/java/account/create-o-auth2token.md
index eb64da1..6103196 100644
--- a/docs/examples/java/account/create-o-auth2token.md
+++ b/docs/examples/java/account/create-o-auth2token.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-phone-token.md b/docs/examples/java/account/create-phone-token.md
index 29ef311..a1ad85b 100644
--- a/docs/examples/java/account/create-phone-token.md
+++ b/docs/examples/java/account/create-phone-token.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-phone-verification.md b/docs/examples/java/account/create-phone-verification.md
index ef14ce8..cca9283 100644
--- a/docs/examples/java/account/create-phone-verification.md
+++ b/docs/examples/java/account/create-phone-verification.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-push-target.md b/docs/examples/java/account/create-push-target.md
index 7eff453..34e8fcb 100644
--- a/docs/examples/java/account/create-push-target.md
+++ b/docs/examples/java/account/create-push-target.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-recovery.md b/docs/examples/java/account/create-recovery.md
index 19006f6..4d2af8b 100644
--- a/docs/examples/java/account/create-recovery.md
+++ b/docs/examples/java/account/create-recovery.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-session.md b/docs/examples/java/account/create-session.md
index 013d372..71d11a5 100644
--- a/docs/examples/java/account/create-session.md
+++ b/docs/examples/java/account/create-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create-verification.md b/docs/examples/java/account/create-verification.md
index 254a31b..be4f7c9 100644
--- a/docs/examples/java/account/create-verification.md
+++ b/docs/examples/java/account/create-verification.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/create.md b/docs/examples/java/account/create.md
index 8ee1de3..e721248 100644
--- a/docs/examples/java/account/create.md
+++ b/docs/examples/java/account/create.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/delete-identity.md b/docs/examples/java/account/delete-identity.md
index 1d6922a..6a62ea2 100644
--- a/docs/examples/java/account/delete-identity.md
+++ b/docs/examples/java/account/delete-identity.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/delete-mfa-authenticator.md b/docs/examples/java/account/delete-mfa-authenticator.md
index e821930..bb6cb09 100644
--- a/docs/examples/java/account/delete-mfa-authenticator.md
+++ b/docs/examples/java/account/delete-mfa-authenticator.md
@@ -5,13 +5,12 @@ import io.appwrite.enums.AuthenticatorType;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
account.deleteMfaAuthenticator(
AuthenticatorType.TOTP, // type
- "", // otp
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/account/delete-push-target.md b/docs/examples/java/account/delete-push-target.md
index 484fc2c..c320800 100644
--- a/docs/examples/java/account/delete-push-target.md
+++ b/docs/examples/java/account/delete-push-target.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/delete-session.md b/docs/examples/java/account/delete-session.md
index 4344061..2efc0f6 100644
--- a/docs/examples/java/account/delete-session.md
+++ b/docs/examples/java/account/delete-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/delete-sessions.md b/docs/examples/java/account/delete-sessions.md
index 147523e..d4c4380 100644
--- a/docs/examples/java/account/delete-sessions.md
+++ b/docs/examples/java/account/delete-sessions.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/get-mfa-recovery-codes.md b/docs/examples/java/account/get-mfa-recovery-codes.md
index 14e5023..acf5984 100644
--- a/docs/examples/java/account/get-mfa-recovery-codes.md
+++ b/docs/examples/java/account/get-mfa-recovery-codes.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/get-prefs.md b/docs/examples/java/account/get-prefs.md
index bfa3c1a..0fea3fe 100644
--- a/docs/examples/java/account/get-prefs.md
+++ b/docs/examples/java/account/get-prefs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/get-session.md b/docs/examples/java/account/get-session.md
index 470f643..3ce4ab5 100644
--- a/docs/examples/java/account/get-session.md
+++ b/docs/examples/java/account/get-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/get.md b/docs/examples/java/account/get.md
index 9006cb8..5c25ed0 100644
--- a/docs/examples/java/account/get.md
+++ b/docs/examples/java/account/get.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/list-identities.md b/docs/examples/java/account/list-identities.md
index cb5f74e..7f9449d 100644
--- a/docs/examples/java/account/list-identities.md
+++ b/docs/examples/java/account/list-identities.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/list-logs.md b/docs/examples/java/account/list-logs.md
index 998d8a8..3aa66e2 100644
--- a/docs/examples/java/account/list-logs.md
+++ b/docs/examples/java/account/list-logs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/list-mfa-factors.md b/docs/examples/java/account/list-mfa-factors.md
index e1a6fa6..a10cb8d 100644
--- a/docs/examples/java/account/list-mfa-factors.md
+++ b/docs/examples/java/account/list-mfa-factors.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/list-sessions.md b/docs/examples/java/account/list-sessions.md
index 9e70f0d..aa8d37b 100644
--- a/docs/examples/java/account/list-sessions.md
+++ b/docs/examples/java/account/list-sessions.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-email.md b/docs/examples/java/account/update-email.md
index 13c5b65..98cf907 100644
--- a/docs/examples/java/account/update-email.md
+++ b/docs/examples/java/account/update-email.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-m-f-a.md b/docs/examples/java/account/update-m-f-a.md
index 7c774c7..620a20c 100644
--- a/docs/examples/java/account/update-m-f-a.md
+++ b/docs/examples/java/account/update-m-f-a.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-magic-u-r-l-session.md b/docs/examples/java/account/update-magic-u-r-l-session.md
index 339b1f7..1b79b73 100644
--- a/docs/examples/java/account/update-magic-u-r-l-session.md
+++ b/docs/examples/java/account/update-magic-u-r-l-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-mfa-authenticator.md b/docs/examples/java/account/update-mfa-authenticator.md
index 44bb7f0..74321be 100644
--- a/docs/examples/java/account/update-mfa-authenticator.md
+++ b/docs/examples/java/account/update-mfa-authenticator.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-mfa-challenge.md b/docs/examples/java/account/update-mfa-challenge.md
index e30c733..a92f007 100644
--- a/docs/examples/java/account/update-mfa-challenge.md
+++ b/docs/examples/java/account/update-mfa-challenge.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-mfa-recovery-codes.md b/docs/examples/java/account/update-mfa-recovery-codes.md
index 880d478..2aa82b1 100644
--- a/docs/examples/java/account/update-mfa-recovery-codes.md
+++ b/docs/examples/java/account/update-mfa-recovery-codes.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-name.md b/docs/examples/java/account/update-name.md
index ff23ace..40a5e2e 100644
--- a/docs/examples/java/account/update-name.md
+++ b/docs/examples/java/account/update-name.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-password.md b/docs/examples/java/account/update-password.md
index 764debf..355c06d 100644
--- a/docs/examples/java/account/update-password.md
+++ b/docs/examples/java/account/update-password.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-phone-session.md b/docs/examples/java/account/update-phone-session.md
index 69d2dd7..042238e 100644
--- a/docs/examples/java/account/update-phone-session.md
+++ b/docs/examples/java/account/update-phone-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-phone-verification.md b/docs/examples/java/account/update-phone-verification.md
index 304e73e..ba7b69c 100644
--- a/docs/examples/java/account/update-phone-verification.md
+++ b/docs/examples/java/account/update-phone-verification.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-phone.md b/docs/examples/java/account/update-phone.md
index 795700a..b3ce0f6 100644
--- a/docs/examples/java/account/update-phone.md
+++ b/docs/examples/java/account/update-phone.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-prefs.md b/docs/examples/java/account/update-prefs.md
index 71eae4c..d746067 100644
--- a/docs/examples/java/account/update-prefs.md
+++ b/docs/examples/java/account/update-prefs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-push-target.md b/docs/examples/java/account/update-push-target.md
index 90dc29e..f9491e0 100644
--- a/docs/examples/java/account/update-push-target.md
+++ b/docs/examples/java/account/update-push-target.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-recovery.md b/docs/examples/java/account/update-recovery.md
index 527351c..e172f12 100644
--- a/docs/examples/java/account/update-recovery.md
+++ b/docs/examples/java/account/update-recovery.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-session.md b/docs/examples/java/account/update-session.md
index e2ef0c3..b3e8706 100644
--- a/docs/examples/java/account/update-session.md
+++ b/docs/examples/java/account/update-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-status.md b/docs/examples/java/account/update-status.md
index 61cb944..2216649 100644
--- a/docs/examples/java/account/update-status.md
+++ b/docs/examples/java/account/update-status.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/account/update-verification.md b/docs/examples/java/account/update-verification.md
index 3f14196..2594943 100644
--- a/docs/examples/java/account/update-verification.md
+++ b/docs/examples/java/account/update-verification.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Account account = new Account(client);
diff --git a/docs/examples/java/avatars/get-browser.md b/docs/examples/java/avatars/get-browser.md
index a7b9e7f..f7e8651 100644
--- a/docs/examples/java/avatars/get-browser.md
+++ b/docs/examples/java/avatars/get-browser.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.Browser;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Avatars avatars = new Avatars(client);
diff --git a/docs/examples/java/avatars/get-credit-card.md b/docs/examples/java/avatars/get-credit-card.md
index 61a8a51..5b1ee06 100644
--- a/docs/examples/java/avatars/get-credit-card.md
+++ b/docs/examples/java/avatars/get-credit-card.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.CreditCard;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Avatars avatars = new Avatars(client);
diff --git a/docs/examples/java/avatars/get-favicon.md b/docs/examples/java/avatars/get-favicon.md
index d2f86c0..05bf590 100644
--- a/docs/examples/java/avatars/get-favicon.md
+++ b/docs/examples/java/avatars/get-favicon.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Avatars;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Avatars avatars = new Avatars(client);
diff --git a/docs/examples/java/avatars/get-flag.md b/docs/examples/java/avatars/get-flag.md
index dc8cc29..6a2185c 100644
--- a/docs/examples/java/avatars/get-flag.md
+++ b/docs/examples/java/avatars/get-flag.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.Flag;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Avatars avatars = new Avatars(client);
diff --git a/docs/examples/java/avatars/get-image.md b/docs/examples/java/avatars/get-image.md
index 81e8029..78fbf98 100644
--- a/docs/examples/java/avatars/get-image.md
+++ b/docs/examples/java/avatars/get-image.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Avatars;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Avatars avatars = new Avatars(client);
diff --git a/docs/examples/java/avatars/get-initials.md b/docs/examples/java/avatars/get-initials.md
index f6c3ee6..621798b 100644
--- a/docs/examples/java/avatars/get-initials.md
+++ b/docs/examples/java/avatars/get-initials.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Avatars;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Avatars avatars = new Avatars(client);
diff --git a/docs/examples/java/avatars/get-q-r.md b/docs/examples/java/avatars/get-q-r.md
index d75b3b3..fc8bc43 100644
--- a/docs/examples/java/avatars/get-q-r.md
+++ b/docs/examples/java/avatars/get-q-r.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Avatars;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Avatars avatars = new Avatars(client);
diff --git a/docs/examples/java/databases/create-document.md b/docs/examples/java/databases/create-document.md
index 361d5fe..6c7e068 100644
--- a/docs/examples/java/databases/create-document.md
+++ b/docs/examples/java/databases/create-document.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Databases databases = new Databases(client);
diff --git a/docs/examples/java/databases/delete-document.md b/docs/examples/java/databases/delete-document.md
index 26b67a2..0cbd6b5 100644
--- a/docs/examples/java/databases/delete-document.md
+++ b/docs/examples/java/databases/delete-document.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Databases databases = new Databases(client);
diff --git a/docs/examples/java/databases/get-document.md b/docs/examples/java/databases/get-document.md
index ac89489..0918c88 100644
--- a/docs/examples/java/databases/get-document.md
+++ b/docs/examples/java/databases/get-document.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Databases databases = new Databases(client);
diff --git a/docs/examples/java/databases/list-documents.md b/docs/examples/java/databases/list-documents.md
index 9f70425..9cc722b 100644
--- a/docs/examples/java/databases/list-documents.md
+++ b/docs/examples/java/databases/list-documents.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Databases databases = new Databases(client);
diff --git a/docs/examples/java/databases/update-document.md b/docs/examples/java/databases/update-document.md
index 430a617..ccfb498 100644
--- a/docs/examples/java/databases/update-document.md
+++ b/docs/examples/java/databases/update-document.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Databases databases = new Databases(client);
diff --git a/docs/examples/java/functions/create-execution.md b/docs/examples/java/functions/create-execution.md
index 0db569b..845f02e 100644
--- a/docs/examples/java/functions/create-execution.md
+++ b/docs/examples/java/functions/create-execution.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Functions;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Functions functions = new Functions(client);
@@ -15,6 +15,7 @@ functions.createExecution(
"", // path (optional)
ExecutionMethod.GET, // method (optional)
mapOf( "a" to "b" ), // headers (optional)
+ "", // scheduledAt (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
diff --git a/docs/examples/java/functions/get-execution.md b/docs/examples/java/functions/get-execution.md
index 66bf263..c53ef0e 100644
--- a/docs/examples/java/functions/get-execution.md
+++ b/docs/examples/java/functions/get-execution.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Functions;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Functions functions = new Functions(client);
diff --git a/docs/examples/java/functions/list-executions.md b/docs/examples/java/functions/list-executions.md
index 1bb510a..b796dc9 100644
--- a/docs/examples/java/functions/list-executions.md
+++ b/docs/examples/java/functions/list-executions.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Functions;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Functions functions = new Functions(client);
diff --git a/docs/examples/java/graphql/mutation.md b/docs/examples/java/graphql/mutation.md
index a7e5f6e..b79903b 100644
--- a/docs/examples/java/graphql/mutation.md
+++ b/docs/examples/java/graphql/mutation.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Graphql;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Graphql graphql = new Graphql(client);
diff --git a/docs/examples/java/graphql/query.md b/docs/examples/java/graphql/query.md
index a6420b4..82bad13 100644
--- a/docs/examples/java/graphql/query.md
+++ b/docs/examples/java/graphql/query.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Graphql;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Graphql graphql = new Graphql(client);
diff --git a/docs/examples/java/locale/get.md b/docs/examples/java/locale/get.md
index cc37896..29b542f 100644
--- a/docs/examples/java/locale/get.md
+++ b/docs/examples/java/locale/get.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Locale locale = new Locale(client);
diff --git a/docs/examples/java/locale/list-codes.md b/docs/examples/java/locale/list-codes.md
index 3fbdf85..d8c9a0b 100644
--- a/docs/examples/java/locale/list-codes.md
+++ b/docs/examples/java/locale/list-codes.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Locale locale = new Locale(client);
diff --git a/docs/examples/java/locale/list-continents.md b/docs/examples/java/locale/list-continents.md
index 296eade..cf43045 100644
--- a/docs/examples/java/locale/list-continents.md
+++ b/docs/examples/java/locale/list-continents.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Locale locale = new Locale(client);
diff --git a/docs/examples/java/locale/list-countries-e-u.md b/docs/examples/java/locale/list-countries-e-u.md
index f674ac5..b7b56ab 100644
--- a/docs/examples/java/locale/list-countries-e-u.md
+++ b/docs/examples/java/locale/list-countries-e-u.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Locale locale = new Locale(client);
diff --git a/docs/examples/java/locale/list-countries-phones.md b/docs/examples/java/locale/list-countries-phones.md
index 6280cbb..c3598c0 100644
--- a/docs/examples/java/locale/list-countries-phones.md
+++ b/docs/examples/java/locale/list-countries-phones.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Locale locale = new Locale(client);
diff --git a/docs/examples/java/locale/list-countries.md b/docs/examples/java/locale/list-countries.md
index eab9ae2..91ac052 100644
--- a/docs/examples/java/locale/list-countries.md
+++ b/docs/examples/java/locale/list-countries.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Locale locale = new Locale(client);
diff --git a/docs/examples/java/locale/list-currencies.md b/docs/examples/java/locale/list-currencies.md
index 662e025..5233004 100644
--- a/docs/examples/java/locale/list-currencies.md
+++ b/docs/examples/java/locale/list-currencies.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Locale locale = new Locale(client);
diff --git a/docs/examples/java/locale/list-languages.md b/docs/examples/java/locale/list-languages.md
index dd68bf2..0f10563 100644
--- a/docs/examples/java/locale/list-languages.md
+++ b/docs/examples/java/locale/list-languages.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Locale locale = new Locale(client);
diff --git a/docs/examples/java/messaging/create-subscriber.md b/docs/examples/java/messaging/create-subscriber.md
index e83b43c..e8fa79f 100644
--- a/docs/examples/java/messaging/create-subscriber.md
+++ b/docs/examples/java/messaging/create-subscriber.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Messaging;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Messaging messaging = new Messaging(client);
diff --git a/docs/examples/java/messaging/delete-subscriber.md b/docs/examples/java/messaging/delete-subscriber.md
index 5e8302b..7e5b3d2 100644
--- a/docs/examples/java/messaging/delete-subscriber.md
+++ b/docs/examples/java/messaging/delete-subscriber.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Messaging;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Messaging messaging = new Messaging(client);
diff --git a/docs/examples/java/storage/create-file.md b/docs/examples/java/storage/create-file.md
index a060552..bc9ebed 100644
--- a/docs/examples/java/storage/create-file.md
+++ b/docs/examples/java/storage/create-file.md
@@ -5,7 +5,7 @@ import io.appwrite.services.Storage;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Storage storage = new Storage(client);
diff --git a/docs/examples/java/storage/delete-file.md b/docs/examples/java/storage/delete-file.md
index 113dfce..eaeb47b 100644
--- a/docs/examples/java/storage/delete-file.md
+++ b/docs/examples/java/storage/delete-file.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Storage storage = new Storage(client);
diff --git a/docs/examples/java/storage/get-file-download.md b/docs/examples/java/storage/get-file-download.md
index 22207ca..d0fdc41 100644
--- a/docs/examples/java/storage/get-file-download.md
+++ b/docs/examples/java/storage/get-file-download.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Storage storage = new Storage(client);
diff --git a/docs/examples/java/storage/get-file-preview.md b/docs/examples/java/storage/get-file-preview.md
index df81fb4..c935e6f 100644
--- a/docs/examples/java/storage/get-file-preview.md
+++ b/docs/examples/java/storage/get-file-preview.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Storage storage = new Storage(client);
diff --git a/docs/examples/java/storage/get-file-view.md b/docs/examples/java/storage/get-file-view.md
index d64c3e6..bbfd04d 100644
--- a/docs/examples/java/storage/get-file-view.md
+++ b/docs/examples/java/storage/get-file-view.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Storage storage = new Storage(client);
diff --git a/docs/examples/java/storage/get-file.md b/docs/examples/java/storage/get-file.md
index b68bf78..a63122f 100644
--- a/docs/examples/java/storage/get-file.md
+++ b/docs/examples/java/storage/get-file.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Storage storage = new Storage(client);
diff --git a/docs/examples/java/storage/list-files.md b/docs/examples/java/storage/list-files.md
index 8b84ecb..dc327fc 100644
--- a/docs/examples/java/storage/list-files.md
+++ b/docs/examples/java/storage/list-files.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Storage storage = new Storage(client);
diff --git a/docs/examples/java/storage/update-file.md b/docs/examples/java/storage/update-file.md
index 12b6443..ed81821 100644
--- a/docs/examples/java/storage/update-file.md
+++ b/docs/examples/java/storage/update-file.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Storage storage = new Storage(client);
diff --git a/docs/examples/java/teams/create-membership.md b/docs/examples/java/teams/create-membership.md
index 468571e..b30f176 100644
--- a/docs/examples/java/teams/create-membership.md
+++ b/docs/examples/java/teams/create-membership.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/create.md b/docs/examples/java/teams/create.md
index 3c757ac..a0d4f07 100644
--- a/docs/examples/java/teams/create.md
+++ b/docs/examples/java/teams/create.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/delete-membership.md b/docs/examples/java/teams/delete-membership.md
index e23409f..7f9189f 100644
--- a/docs/examples/java/teams/delete-membership.md
+++ b/docs/examples/java/teams/delete-membership.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/delete.md b/docs/examples/java/teams/delete.md
index 567ea3d..2f4e861 100644
--- a/docs/examples/java/teams/delete.md
+++ b/docs/examples/java/teams/delete.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/get-membership.md b/docs/examples/java/teams/get-membership.md
index c09a267..529feb2 100644
--- a/docs/examples/java/teams/get-membership.md
+++ b/docs/examples/java/teams/get-membership.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/get-prefs.md b/docs/examples/java/teams/get-prefs.md
index 48a9815..61da757 100644
--- a/docs/examples/java/teams/get-prefs.md
+++ b/docs/examples/java/teams/get-prefs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/get.md b/docs/examples/java/teams/get.md
index 20a6f6a..39fe4d4 100644
--- a/docs/examples/java/teams/get.md
+++ b/docs/examples/java/teams/get.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/list-memberships.md b/docs/examples/java/teams/list-memberships.md
index 2de609c..58430f0 100644
--- a/docs/examples/java/teams/list-memberships.md
+++ b/docs/examples/java/teams/list-memberships.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/list.md b/docs/examples/java/teams/list.md
index 7f7910c..914509f 100644
--- a/docs/examples/java/teams/list.md
+++ b/docs/examples/java/teams/list.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/update-membership-status.md b/docs/examples/java/teams/update-membership-status.md
index 97e8242..5134613 100644
--- a/docs/examples/java/teams/update-membership-status.md
+++ b/docs/examples/java/teams/update-membership-status.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/update-membership.md b/docs/examples/java/teams/update-membership.md
index 86f0ddd..a60c2a0 100644
--- a/docs/examples/java/teams/update-membership.md
+++ b/docs/examples/java/teams/update-membership.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/update-name.md b/docs/examples/java/teams/update-name.md
index 1aa96f8..54f218e 100644
--- a/docs/examples/java/teams/update-name.md
+++ b/docs/examples/java/teams/update-name.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/java/teams/update-prefs.md b/docs/examples/java/teams/update-prefs.md
index e188a99..eaa161e 100644
--- a/docs/examples/java/teams/update-prefs.md
+++ b/docs/examples/java/teams/update-prefs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams;
Client client = new Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2"); // Your project ID
+ .setProject(""); // Your project ID
Teams teams = new Teams(client);
diff --git a/docs/examples/kotlin/account/create-anonymous-session.md b/docs/examples/kotlin/account/create-anonymous-session.md
index 7961cc0..50a011a 100644
--- a/docs/examples/kotlin/account/create-anonymous-session.md
+++ b/docs/examples/kotlin/account/create-anonymous-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-email-password-session.md b/docs/examples/kotlin/account/create-email-password-session.md
index 57bc99b..8c44759 100644
--- a/docs/examples/kotlin/account/create-email-password-session.md
+++ b/docs/examples/kotlin/account/create-email-password-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-email-token.md b/docs/examples/kotlin/account/create-email-token.md
index dd0bdf3..219e793 100644
--- a/docs/examples/kotlin/account/create-email-token.md
+++ b/docs/examples/kotlin/account/create-email-token.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-j-w-t.md b/docs/examples/kotlin/account/create-j-w-t.md
index 3aefe4a..50014d4 100644
--- a/docs/examples/kotlin/account/create-j-w-t.md
+++ b/docs/examples/kotlin/account/create-j-w-t.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-magic-u-r-l-token.md b/docs/examples/kotlin/account/create-magic-u-r-l-token.md
index dad908e..905e942 100644
--- a/docs/examples/kotlin/account/create-magic-u-r-l-token.md
+++ b/docs/examples/kotlin/account/create-magic-u-r-l-token.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-mfa-authenticator.md b/docs/examples/kotlin/account/create-mfa-authenticator.md
index f2ff748..dacf56a 100644
--- a/docs/examples/kotlin/account/create-mfa-authenticator.md
+++ b/docs/examples/kotlin/account/create-mfa-authenticator.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-mfa-challenge.md b/docs/examples/kotlin/account/create-mfa-challenge.md
index d43aa39..22c9658 100644
--- a/docs/examples/kotlin/account/create-mfa-challenge.md
+++ b/docs/examples/kotlin/account/create-mfa-challenge.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticationFactor
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-mfa-recovery-codes.md b/docs/examples/kotlin/account/create-mfa-recovery-codes.md
index be25e74..364bc0e 100644
--- a/docs/examples/kotlin/account/create-mfa-recovery-codes.md
+++ b/docs/examples/kotlin/account/create-mfa-recovery-codes.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-o-auth2session.md b/docs/examples/kotlin/account/create-o-auth2session.md
index d642de8..fc9d822 100644
--- a/docs/examples/kotlin/account/create-o-auth2session.md
+++ b/docs/examples/kotlin/account/create-o-auth2session.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-o-auth2token.md b/docs/examples/kotlin/account/create-o-auth2token.md
index 7d651b1..11a814b 100644
--- a/docs/examples/kotlin/account/create-o-auth2token.md
+++ b/docs/examples/kotlin/account/create-o-auth2token.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-phone-token.md b/docs/examples/kotlin/account/create-phone-token.md
index 9e72059..56b53c2 100644
--- a/docs/examples/kotlin/account/create-phone-token.md
+++ b/docs/examples/kotlin/account/create-phone-token.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-phone-verification.md b/docs/examples/kotlin/account/create-phone-verification.md
index 3c94fb8..531aead 100644
--- a/docs/examples/kotlin/account/create-phone-verification.md
+++ b/docs/examples/kotlin/account/create-phone-verification.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-push-target.md b/docs/examples/kotlin/account/create-push-target.md
index 66729cc..7dd2101 100644
--- a/docs/examples/kotlin/account/create-push-target.md
+++ b/docs/examples/kotlin/account/create-push-target.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-recovery.md b/docs/examples/kotlin/account/create-recovery.md
index 8afb76c..d03bd32 100644
--- a/docs/examples/kotlin/account/create-recovery.md
+++ b/docs/examples/kotlin/account/create-recovery.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-session.md b/docs/examples/kotlin/account/create-session.md
index 49daa6b..2b3da6d 100644
--- a/docs/examples/kotlin/account/create-session.md
+++ b/docs/examples/kotlin/account/create-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create-verification.md b/docs/examples/kotlin/account/create-verification.md
index 0638a36..54174be 100644
--- a/docs/examples/kotlin/account/create-verification.md
+++ b/docs/examples/kotlin/account/create-verification.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/create.md b/docs/examples/kotlin/account/create.md
index 48b8b66..2ee3ae4 100644
--- a/docs/examples/kotlin/account/create.md
+++ b/docs/examples/kotlin/account/create.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/delete-identity.md b/docs/examples/kotlin/account/delete-identity.md
index 099b5ac..1e5d206 100644
--- a/docs/examples/kotlin/account/delete-identity.md
+++ b/docs/examples/kotlin/account/delete-identity.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/delete-mfa-authenticator.md b/docs/examples/kotlin/account/delete-mfa-authenticator.md
index c07afd0..48220b2 100644
--- a/docs/examples/kotlin/account/delete-mfa-authenticator.md
+++ b/docs/examples/kotlin/account/delete-mfa-authenticator.md
@@ -5,11 +5,10 @@ import io.appwrite.enums.AuthenticatorType
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
val result = account.deleteMfaAuthenticator(
type = AuthenticatorType.TOTP,
- otp = "",
)
\ No newline at end of file
diff --git a/docs/examples/kotlin/account/delete-push-target.md b/docs/examples/kotlin/account/delete-push-target.md
index c20d04a..e67b180 100644
--- a/docs/examples/kotlin/account/delete-push-target.md
+++ b/docs/examples/kotlin/account/delete-push-target.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/delete-session.md b/docs/examples/kotlin/account/delete-session.md
index ae2ed67..0990989 100644
--- a/docs/examples/kotlin/account/delete-session.md
+++ b/docs/examples/kotlin/account/delete-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/delete-sessions.md b/docs/examples/kotlin/account/delete-sessions.md
index 7caaea4..8c464e0 100644
--- a/docs/examples/kotlin/account/delete-sessions.md
+++ b/docs/examples/kotlin/account/delete-sessions.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/get-mfa-recovery-codes.md b/docs/examples/kotlin/account/get-mfa-recovery-codes.md
index 4a1652c..bd12e83 100644
--- a/docs/examples/kotlin/account/get-mfa-recovery-codes.md
+++ b/docs/examples/kotlin/account/get-mfa-recovery-codes.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/get-prefs.md b/docs/examples/kotlin/account/get-prefs.md
index 08fdd13..9227eff 100644
--- a/docs/examples/kotlin/account/get-prefs.md
+++ b/docs/examples/kotlin/account/get-prefs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/get-session.md b/docs/examples/kotlin/account/get-session.md
index d0520ce..42e61fd 100644
--- a/docs/examples/kotlin/account/get-session.md
+++ b/docs/examples/kotlin/account/get-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/get.md b/docs/examples/kotlin/account/get.md
index ed4874b..8c90304 100644
--- a/docs/examples/kotlin/account/get.md
+++ b/docs/examples/kotlin/account/get.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/list-identities.md b/docs/examples/kotlin/account/list-identities.md
index bde6023..53e388d 100644
--- a/docs/examples/kotlin/account/list-identities.md
+++ b/docs/examples/kotlin/account/list-identities.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/list-logs.md b/docs/examples/kotlin/account/list-logs.md
index 56238f9..683a94b 100644
--- a/docs/examples/kotlin/account/list-logs.md
+++ b/docs/examples/kotlin/account/list-logs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/list-mfa-factors.md b/docs/examples/kotlin/account/list-mfa-factors.md
index 9f8572c..ecfa6c2 100644
--- a/docs/examples/kotlin/account/list-mfa-factors.md
+++ b/docs/examples/kotlin/account/list-mfa-factors.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/list-sessions.md b/docs/examples/kotlin/account/list-sessions.md
index 9d64c74..2da413d 100644
--- a/docs/examples/kotlin/account/list-sessions.md
+++ b/docs/examples/kotlin/account/list-sessions.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-email.md b/docs/examples/kotlin/account/update-email.md
index 5068962..072d6db 100644
--- a/docs/examples/kotlin/account/update-email.md
+++ b/docs/examples/kotlin/account/update-email.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-m-f-a.md b/docs/examples/kotlin/account/update-m-f-a.md
index 7949490..3cac098 100644
--- a/docs/examples/kotlin/account/update-m-f-a.md
+++ b/docs/examples/kotlin/account/update-m-f-a.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/kotlin/account/update-magic-u-r-l-session.md
index 0abb033..52d0ad7 100644
--- a/docs/examples/kotlin/account/update-magic-u-r-l-session.md
+++ b/docs/examples/kotlin/account/update-magic-u-r-l-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-mfa-authenticator.md b/docs/examples/kotlin/account/update-mfa-authenticator.md
index 8b19680..321f25b 100644
--- a/docs/examples/kotlin/account/update-mfa-authenticator.md
+++ b/docs/examples/kotlin/account/update-mfa-authenticator.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-mfa-challenge.md b/docs/examples/kotlin/account/update-mfa-challenge.md
index fe4cb1e..021f515 100644
--- a/docs/examples/kotlin/account/update-mfa-challenge.md
+++ b/docs/examples/kotlin/account/update-mfa-challenge.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-mfa-recovery-codes.md b/docs/examples/kotlin/account/update-mfa-recovery-codes.md
index f39b7c6..d4ea7f5 100644
--- a/docs/examples/kotlin/account/update-mfa-recovery-codes.md
+++ b/docs/examples/kotlin/account/update-mfa-recovery-codes.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-name.md b/docs/examples/kotlin/account/update-name.md
index 20aab9d..374f84f 100644
--- a/docs/examples/kotlin/account/update-name.md
+++ b/docs/examples/kotlin/account/update-name.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-password.md b/docs/examples/kotlin/account/update-password.md
index 86c862c..edf5117 100644
--- a/docs/examples/kotlin/account/update-password.md
+++ b/docs/examples/kotlin/account/update-password.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-phone-session.md b/docs/examples/kotlin/account/update-phone-session.md
index 6c8fa65..93e080d 100644
--- a/docs/examples/kotlin/account/update-phone-session.md
+++ b/docs/examples/kotlin/account/update-phone-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-phone-verification.md b/docs/examples/kotlin/account/update-phone-verification.md
index 445a47e..226b21d 100644
--- a/docs/examples/kotlin/account/update-phone-verification.md
+++ b/docs/examples/kotlin/account/update-phone-verification.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-phone.md b/docs/examples/kotlin/account/update-phone.md
index c8f50c3..772c099 100644
--- a/docs/examples/kotlin/account/update-phone.md
+++ b/docs/examples/kotlin/account/update-phone.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-prefs.md b/docs/examples/kotlin/account/update-prefs.md
index f449ccb..c5c7a3d 100644
--- a/docs/examples/kotlin/account/update-prefs.md
+++ b/docs/examples/kotlin/account/update-prefs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-push-target.md b/docs/examples/kotlin/account/update-push-target.md
index 5fff554..c6e6f21 100644
--- a/docs/examples/kotlin/account/update-push-target.md
+++ b/docs/examples/kotlin/account/update-push-target.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-recovery.md b/docs/examples/kotlin/account/update-recovery.md
index da1f27e..b448114 100644
--- a/docs/examples/kotlin/account/update-recovery.md
+++ b/docs/examples/kotlin/account/update-recovery.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-session.md b/docs/examples/kotlin/account/update-session.md
index 3252039..43d84e1 100644
--- a/docs/examples/kotlin/account/update-session.md
+++ b/docs/examples/kotlin/account/update-session.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-status.md b/docs/examples/kotlin/account/update-status.md
index 2b54214..4f44ce1 100644
--- a/docs/examples/kotlin/account/update-status.md
+++ b/docs/examples/kotlin/account/update-status.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/account/update-verification.md b/docs/examples/kotlin/account/update-verification.md
index 5f7f902..3c9c465 100644
--- a/docs/examples/kotlin/account/update-verification.md
+++ b/docs/examples/kotlin/account/update-verification.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Account
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val account = Account(client)
diff --git a/docs/examples/kotlin/avatars/get-browser.md b/docs/examples/kotlin/avatars/get-browser.md
index 1e63217..34f6f28 100644
--- a/docs/examples/kotlin/avatars/get-browser.md
+++ b/docs/examples/kotlin/avatars/get-browser.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.Browser
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val avatars = Avatars(client)
diff --git a/docs/examples/kotlin/avatars/get-credit-card.md b/docs/examples/kotlin/avatars/get-credit-card.md
index 23fbbfd..52eea79 100644
--- a/docs/examples/kotlin/avatars/get-credit-card.md
+++ b/docs/examples/kotlin/avatars/get-credit-card.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.CreditCard
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val avatars = Avatars(client)
diff --git a/docs/examples/kotlin/avatars/get-favicon.md b/docs/examples/kotlin/avatars/get-favicon.md
index a2d5e18..5f83bdd 100644
--- a/docs/examples/kotlin/avatars/get-favicon.md
+++ b/docs/examples/kotlin/avatars/get-favicon.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Avatars
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val avatars = Avatars(client)
diff --git a/docs/examples/kotlin/avatars/get-flag.md b/docs/examples/kotlin/avatars/get-flag.md
index b1ac632..cfd5d01 100644
--- a/docs/examples/kotlin/avatars/get-flag.md
+++ b/docs/examples/kotlin/avatars/get-flag.md
@@ -5,7 +5,7 @@ import io.appwrite.enums.Flag
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val avatars = Avatars(client)
diff --git a/docs/examples/kotlin/avatars/get-image.md b/docs/examples/kotlin/avatars/get-image.md
index bb76b4c..a9a7c2a 100644
--- a/docs/examples/kotlin/avatars/get-image.md
+++ b/docs/examples/kotlin/avatars/get-image.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Avatars
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val avatars = Avatars(client)
diff --git a/docs/examples/kotlin/avatars/get-initials.md b/docs/examples/kotlin/avatars/get-initials.md
index b2a1c25..bd2ae1b 100644
--- a/docs/examples/kotlin/avatars/get-initials.md
+++ b/docs/examples/kotlin/avatars/get-initials.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Avatars
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val avatars = Avatars(client)
diff --git a/docs/examples/kotlin/avatars/get-q-r.md b/docs/examples/kotlin/avatars/get-q-r.md
index 853d94e..9e02a0c 100644
--- a/docs/examples/kotlin/avatars/get-q-r.md
+++ b/docs/examples/kotlin/avatars/get-q-r.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Avatars
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val avatars = Avatars(client)
diff --git a/docs/examples/kotlin/databases/create-document.md b/docs/examples/kotlin/databases/create-document.md
index 10b6fdf..2b77405 100644
--- a/docs/examples/kotlin/databases/create-document.md
+++ b/docs/examples/kotlin/databases/create-document.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val databases = Databases(client)
diff --git a/docs/examples/kotlin/databases/delete-document.md b/docs/examples/kotlin/databases/delete-document.md
index 3eb1147..e3e6de3 100644
--- a/docs/examples/kotlin/databases/delete-document.md
+++ b/docs/examples/kotlin/databases/delete-document.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val databases = Databases(client)
diff --git a/docs/examples/kotlin/databases/get-document.md b/docs/examples/kotlin/databases/get-document.md
index 6c5f92a..6ed6c8b 100644
--- a/docs/examples/kotlin/databases/get-document.md
+++ b/docs/examples/kotlin/databases/get-document.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val databases = Databases(client)
diff --git a/docs/examples/kotlin/databases/list-documents.md b/docs/examples/kotlin/databases/list-documents.md
index 7b1e851..ff419c4 100644
--- a/docs/examples/kotlin/databases/list-documents.md
+++ b/docs/examples/kotlin/databases/list-documents.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val databases = Databases(client)
diff --git a/docs/examples/kotlin/databases/update-document.md b/docs/examples/kotlin/databases/update-document.md
index de6b192..630e2b6 100644
--- a/docs/examples/kotlin/databases/update-document.md
+++ b/docs/examples/kotlin/databases/update-document.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Databases
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val databases = Databases(client)
diff --git a/docs/examples/kotlin/functions/create-execution.md b/docs/examples/kotlin/functions/create-execution.md
index de84186..937bb4f 100644
--- a/docs/examples/kotlin/functions/create-execution.md
+++ b/docs/examples/kotlin/functions/create-execution.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Functions
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val functions = Functions(client)
@@ -15,4 +15,5 @@ val result = functions.createExecution(
path = "", // (optional)
method = ExecutionMethod.GET, // (optional)
headers = mapOf( "a" to "b" ), // (optional)
+ scheduledAt = "", // (optional)
)
\ No newline at end of file
diff --git a/docs/examples/kotlin/functions/get-execution.md b/docs/examples/kotlin/functions/get-execution.md
index 0c4de1e..60b2e0f 100644
--- a/docs/examples/kotlin/functions/get-execution.md
+++ b/docs/examples/kotlin/functions/get-execution.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Functions
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val functions = Functions(client)
diff --git a/docs/examples/kotlin/functions/list-executions.md b/docs/examples/kotlin/functions/list-executions.md
index d28b32c..90b2bf6 100644
--- a/docs/examples/kotlin/functions/list-executions.md
+++ b/docs/examples/kotlin/functions/list-executions.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Functions
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val functions = Functions(client)
diff --git a/docs/examples/kotlin/graphql/mutation.md b/docs/examples/kotlin/graphql/mutation.md
index a429a66..e90c9ae 100644
--- a/docs/examples/kotlin/graphql/mutation.md
+++ b/docs/examples/kotlin/graphql/mutation.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Graphql
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val graphql = Graphql(client)
diff --git a/docs/examples/kotlin/graphql/query.md b/docs/examples/kotlin/graphql/query.md
index 0c39edd..2ce0cb1 100644
--- a/docs/examples/kotlin/graphql/query.md
+++ b/docs/examples/kotlin/graphql/query.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Graphql
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val graphql = Graphql(client)
diff --git a/docs/examples/kotlin/locale/get.md b/docs/examples/kotlin/locale/get.md
index d38572a..f2f235a 100644
--- a/docs/examples/kotlin/locale/get.md
+++ b/docs/examples/kotlin/locale/get.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val locale = Locale(client)
diff --git a/docs/examples/kotlin/locale/list-codes.md b/docs/examples/kotlin/locale/list-codes.md
index 9f506f0..895c96d 100644
--- a/docs/examples/kotlin/locale/list-codes.md
+++ b/docs/examples/kotlin/locale/list-codes.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val locale = Locale(client)
diff --git a/docs/examples/kotlin/locale/list-continents.md b/docs/examples/kotlin/locale/list-continents.md
index 96cfda5..e320344 100644
--- a/docs/examples/kotlin/locale/list-continents.md
+++ b/docs/examples/kotlin/locale/list-continents.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val locale = Locale(client)
diff --git a/docs/examples/kotlin/locale/list-countries-e-u.md b/docs/examples/kotlin/locale/list-countries-e-u.md
index 54faf5e..b9182aa 100644
--- a/docs/examples/kotlin/locale/list-countries-e-u.md
+++ b/docs/examples/kotlin/locale/list-countries-e-u.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val locale = Locale(client)
diff --git a/docs/examples/kotlin/locale/list-countries-phones.md b/docs/examples/kotlin/locale/list-countries-phones.md
index 9e4bec1..961ebd3 100644
--- a/docs/examples/kotlin/locale/list-countries-phones.md
+++ b/docs/examples/kotlin/locale/list-countries-phones.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val locale = Locale(client)
diff --git a/docs/examples/kotlin/locale/list-countries.md b/docs/examples/kotlin/locale/list-countries.md
index 4299efb..1ebae69 100644
--- a/docs/examples/kotlin/locale/list-countries.md
+++ b/docs/examples/kotlin/locale/list-countries.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val locale = Locale(client)
diff --git a/docs/examples/kotlin/locale/list-currencies.md b/docs/examples/kotlin/locale/list-currencies.md
index 2bb7ca7..7500aa7 100644
--- a/docs/examples/kotlin/locale/list-currencies.md
+++ b/docs/examples/kotlin/locale/list-currencies.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val locale = Locale(client)
diff --git a/docs/examples/kotlin/locale/list-languages.md b/docs/examples/kotlin/locale/list-languages.md
index a9035e9..2be0ba5 100644
--- a/docs/examples/kotlin/locale/list-languages.md
+++ b/docs/examples/kotlin/locale/list-languages.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Locale
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val locale = Locale(client)
diff --git a/docs/examples/kotlin/messaging/create-subscriber.md b/docs/examples/kotlin/messaging/create-subscriber.md
index 3f1d476..db23342 100644
--- a/docs/examples/kotlin/messaging/create-subscriber.md
+++ b/docs/examples/kotlin/messaging/create-subscriber.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Messaging
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val messaging = Messaging(client)
diff --git a/docs/examples/kotlin/messaging/delete-subscriber.md b/docs/examples/kotlin/messaging/delete-subscriber.md
index febf622..ab0d479 100644
--- a/docs/examples/kotlin/messaging/delete-subscriber.md
+++ b/docs/examples/kotlin/messaging/delete-subscriber.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Messaging
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val messaging = Messaging(client)
diff --git a/docs/examples/kotlin/storage/create-file.md b/docs/examples/kotlin/storage/create-file.md
index ccd342e..d327e72 100644
--- a/docs/examples/kotlin/storage/create-file.md
+++ b/docs/examples/kotlin/storage/create-file.md
@@ -5,7 +5,7 @@ import io.appwrite.services.Storage
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val storage = Storage(client)
diff --git a/docs/examples/kotlin/storage/delete-file.md b/docs/examples/kotlin/storage/delete-file.md
index 8def7d9..60df78e 100644
--- a/docs/examples/kotlin/storage/delete-file.md
+++ b/docs/examples/kotlin/storage/delete-file.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val storage = Storage(client)
diff --git a/docs/examples/kotlin/storage/get-file-download.md b/docs/examples/kotlin/storage/get-file-download.md
index c6e8fa4..bb97541 100644
--- a/docs/examples/kotlin/storage/get-file-download.md
+++ b/docs/examples/kotlin/storage/get-file-download.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val storage = Storage(client)
diff --git a/docs/examples/kotlin/storage/get-file-preview.md b/docs/examples/kotlin/storage/get-file-preview.md
index 9c9993c..904f3ec 100644
--- a/docs/examples/kotlin/storage/get-file-preview.md
+++ b/docs/examples/kotlin/storage/get-file-preview.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val storage = Storage(client)
diff --git a/docs/examples/kotlin/storage/get-file-view.md b/docs/examples/kotlin/storage/get-file-view.md
index 83f8b31..898c1ee 100644
--- a/docs/examples/kotlin/storage/get-file-view.md
+++ b/docs/examples/kotlin/storage/get-file-view.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val storage = Storage(client)
diff --git a/docs/examples/kotlin/storage/get-file.md b/docs/examples/kotlin/storage/get-file.md
index df662ea..a07095d 100644
--- a/docs/examples/kotlin/storage/get-file.md
+++ b/docs/examples/kotlin/storage/get-file.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val storage = Storage(client)
diff --git a/docs/examples/kotlin/storage/list-files.md b/docs/examples/kotlin/storage/list-files.md
index 4e28fc5..640b705 100644
--- a/docs/examples/kotlin/storage/list-files.md
+++ b/docs/examples/kotlin/storage/list-files.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val storage = Storage(client)
diff --git a/docs/examples/kotlin/storage/update-file.md b/docs/examples/kotlin/storage/update-file.md
index c84dadb..f7a20f0 100644
--- a/docs/examples/kotlin/storage/update-file.md
+++ b/docs/examples/kotlin/storage/update-file.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Storage
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val storage = Storage(client)
diff --git a/docs/examples/kotlin/teams/create-membership.md b/docs/examples/kotlin/teams/create-membership.md
index a892663..63f3c67 100644
--- a/docs/examples/kotlin/teams/create-membership.md
+++ b/docs/examples/kotlin/teams/create-membership.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/create.md b/docs/examples/kotlin/teams/create.md
index 22d6e7f..f214a37 100644
--- a/docs/examples/kotlin/teams/create.md
+++ b/docs/examples/kotlin/teams/create.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/delete-membership.md b/docs/examples/kotlin/teams/delete-membership.md
index 66e5716..f3a54b3 100644
--- a/docs/examples/kotlin/teams/delete-membership.md
+++ b/docs/examples/kotlin/teams/delete-membership.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/delete.md b/docs/examples/kotlin/teams/delete.md
index a73fa75..bc8e8d0 100644
--- a/docs/examples/kotlin/teams/delete.md
+++ b/docs/examples/kotlin/teams/delete.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/get-membership.md b/docs/examples/kotlin/teams/get-membership.md
index 80640c7..e5a589e 100644
--- a/docs/examples/kotlin/teams/get-membership.md
+++ b/docs/examples/kotlin/teams/get-membership.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/get-prefs.md b/docs/examples/kotlin/teams/get-prefs.md
index 31001bd..af7503a 100644
--- a/docs/examples/kotlin/teams/get-prefs.md
+++ b/docs/examples/kotlin/teams/get-prefs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/get.md b/docs/examples/kotlin/teams/get.md
index 4387118..70759bc 100644
--- a/docs/examples/kotlin/teams/get.md
+++ b/docs/examples/kotlin/teams/get.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/list-memberships.md b/docs/examples/kotlin/teams/list-memberships.md
index 7c8c686..abb140e 100644
--- a/docs/examples/kotlin/teams/list-memberships.md
+++ b/docs/examples/kotlin/teams/list-memberships.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/list.md b/docs/examples/kotlin/teams/list.md
index e73d9e4..5d80873 100644
--- a/docs/examples/kotlin/teams/list.md
+++ b/docs/examples/kotlin/teams/list.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/update-membership-status.md b/docs/examples/kotlin/teams/update-membership-status.md
index 0866892..9ecf417 100644
--- a/docs/examples/kotlin/teams/update-membership-status.md
+++ b/docs/examples/kotlin/teams/update-membership-status.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/update-membership.md b/docs/examples/kotlin/teams/update-membership.md
index 799c594..15b2ac0 100644
--- a/docs/examples/kotlin/teams/update-membership.md
+++ b/docs/examples/kotlin/teams/update-membership.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/update-name.md b/docs/examples/kotlin/teams/update-name.md
index 5e2399a..0040737 100644
--- a/docs/examples/kotlin/teams/update-name.md
+++ b/docs/examples/kotlin/teams/update-name.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/docs/examples/kotlin/teams/update-prefs.md b/docs/examples/kotlin/teams/update-prefs.md
index 62febab..f70a5eb 100644
--- a/docs/examples/kotlin/teams/update-prefs.md
+++ b/docs/examples/kotlin/teams/update-prefs.md
@@ -4,7 +4,7 @@ import io.appwrite.services.Teams
val client = Client(context)
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
- .setProject("5df5acd0d48c2") // Your project ID
+ .setProject("") // Your project ID
val teams = Teams(client)
diff --git a/library/src/main/java/io/appwrite/Client.kt b/library/src/main/java/io/appwrite/Client.kt
index a27cf48..93a3e06 100644
--- a/library/src/main/java/io/appwrite/Client.kt
+++ b/library/src/main/java/io/appwrite/Client.kt
@@ -44,6 +44,9 @@ class Client @JvmOverloads constructor(
) : CoroutineScope {
companion object {
+ /**
+ * The size for chunked uploads in bytes.
+ */
internal const val CHUNK_SIZE = 5*1024*1024; // 5MB
internal const val GLOBAL_PREFS = "io.appwrite"
internal const val COOKIE_PREFS = "myCookie"
@@ -83,8 +86,8 @@ class Client @JvmOverloads constructor(
"x-sdk-name" to "Android",
"x-sdk-platform" to "client",
"x-sdk-language" to "android",
- "x-sdk-version" to "5.1.1",
- "x-appwrite-response-format" to "1.5.0"
+ "x-sdk-version" to "6.0.0",
+ "x-appwrite-response-format" to "1.6.0"
)
config = mutableMapOf()
@@ -508,6 +511,14 @@ class Client @JvmOverloads constructor(
it.cancel(error)
return
}
+
+ val warnings = response.headers["x-appwrite-warning"]
+ if (warnings != null) {
+ warnings.split(";").forEach { warning ->
+ println("Warning: $warning")
+ }
+ }
+
when {
responseType == Boolean::class.java -> {
it.resume(true as T)
diff --git a/library/src/main/java/io/appwrite/ID.kt b/library/src/main/java/io/appwrite/ID.kt
index e661192..b89957b 100644
--- a/library/src/main/java/io/appwrite/ID.kt
+++ b/library/src/main/java/io/appwrite/ID.kt
@@ -4,6 +4,9 @@ import java.time.Instant
import kotlin.math.floor
import kotlin.random.Random
+/**
+ * Helper class to generate ID strings for resources.
+ */
class ID {
companion object {
// Generate an hex ID based on timestamp
@@ -21,7 +24,12 @@ class ID {
fun custom(id: String): String
= id
- // Generate a unique ID with padding to have a longer ID
+ /**
+ * Generate a unique ID with padding to have a longer ID
+ *
+ * @param padding The number of characters to add to the ID
+ * @returns The unique ID
+ */
fun unique(padding: Int = 7): String {
val baseId = hexTimestamp()
val randomPadding = (1..padding)
diff --git a/library/src/main/java/io/appwrite/Permission.kt b/library/src/main/java/io/appwrite/Permission.kt
index a540dcf..462b8e4 100644
--- a/library/src/main/java/io/appwrite/Permission.kt
+++ b/library/src/main/java/io/appwrite/Permission.kt
@@ -1,19 +1,60 @@
package io.appwrite
+/**
+ * Helper class to generate permission strings for resources.
+ */
class Permission {
companion object {
+
+ /**
+ * Generate read permission string for the provided role.
+ *
+ * @param role The role for which to generate the permission.
+ * @returns The read permission string.
+ */
fun read(role: String): String {
return "read(\"${role}\")"
- }
+ }
+
+ /**
+ * Generate write permission string for the provided role.
+ *
+ * This is an alias of update, delete, and possibly create.
+ * Don't use write in combination with update, delete, or create.
+ *
+ * @param role The role for which to generate the permission.
+ * @returns The write permission string.
+ */
fun write(role: String): String {
return "write(\"${role}\")"
}
+
+ /**
+ * Generate create permission string for the provided role.
+ *
+ * @param role The role for which to generate the permission.
+ * @returns The create permission string.
+ */
fun create(role: String): String {
return "create(\"${role}\")"
- }
+ }
+
+ /**
+ * Generate update permission string for the provided role.
+ *
+ * @param role The role for which to generate the permission.
+ * @returns The update permission string.
+ */
fun update(role: String): String {
return "update(\"${role}\")"
- }
+ }
+
+ /**
+ * Generate delete permission string for the provided role.
+ *
+ * @param role The role for which to generate the permission.
+ * @returns The delete permission string.
+ */
fun delete(role: String): String {
return "delete(\"${role}\")"
}
diff --git a/library/src/main/java/io/appwrite/Query.kt b/library/src/main/java/io/appwrite/Query.kt
index 6efbb11..e326335 100644
--- a/library/src/main/java/io/appwrite/Query.kt
+++ b/library/src/main/java/io/appwrite/Query.kt
@@ -3,58 +3,217 @@ package io.appwrite
import io.appwrite.extensions.toJson
import io.appwrite.extensions.fromJson
+/**
+ * Helper class to generate query strings.
+ */
class Query(
val method: String,
val attribute: String? = null,
val values: List? = null,
) {
+ /**
+ * Convert the query object to a JSON string.
+ *
+ * @returns The JSON string representation of the query object.
+ */
override fun toString() = this.toJson()
companion object {
+
+ /**
+ * Filter resources where attribute is equal to value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun equal(attribute: String, value: Any) = Query("equal", attribute, parseValue(value)).toJson()
+ /**
+ * Filter resources where attribute is not equal to value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun notEqual(attribute: String, value: Any) = Query("notEqual", attribute, parseValue(value)).toJson()
+ /**
+ * Filter resources where attribute is less than value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun lessThan(attribute: String, value: Any) = Query("lessThan", attribute, parseValue(value)).toJson()
+ /**
+ * Filter resources where attribute is less than or equal to value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun lessThanEqual(attribute: String, value: Any) = Query("lessThanEqual", attribute, parseValue(value)).toJson()
+ /**
+ * Filter resources where attribute is greater than value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun greaterThan(attribute: String, value: Any) = Query("greaterThan", attribute, parseValue(value)).toJson()
+ /**
+ * Filter resources where attribute is greater than or equal to value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun greaterThanEqual(attribute: String, value: Any) = Query("greaterThanEqual", attribute, parseValue(value)).toJson()
+ /**
+ * Filter resources where attribute matches the search value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The search value to match against.
+ * @returns The query string.
+ */
fun search(attribute: String, value: String) = Query("search", attribute, listOf(value)).toJson()
+ /**
+ * Filter resources where attribute is null.
+ *
+ * @param attribute The attribute to filter on.
+ * @returns The query string.
+ */
fun isNull(attribute: String) = Query("isNull", attribute).toJson()
+ /**
+ * Filter resources where attribute is not null.
+ *
+ * @param attribute The attribute to filter on.
+ * @returns The query string.
+ */
fun isNotNull(attribute: String) = Query("isNotNull", attribute).toJson()
+ /**
+ * Filter resources where attribute is between start and end (inclusive).
+ *
+ * @param attribute The attribute to filter on.
+ * @param start The start value of the range.
+ * @param end The end value of the range.
+ * @returns The query string.
+ */
fun between(attribute: String, start: Any, end: Any) = Query("between", attribute, listOf(start, end)).toJson()
+ /**
+ * Filter resources where attribute starts with value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun startsWith(attribute: String, value: String) = Query("startsWith", attribute, listOf(value)).toJson()
+ /**
+ * Filter resources where attribute ends with value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun endsWith(attribute: String, value: String) = Query("endsWith", attribute, listOf(value)).toJson()
+ /**
+ * Specify which attributes should be returned by the API call.
+ *
+ * @param attributes The list of attributes to select.
+ * @returns The query string.
+ */
fun select(attributes: List) = Query("select", null, attributes).toJson()
+ /**
+ * Sort results by attribute ascending.
+ *
+ * @param attribute The attribute to sort by.
+ * @returns The query string.
+ */
fun orderAsc(attribute: String) = Query("orderAsc", attribute).toJson()
+ /**
+ * Sort results by attribute descending.
+ *
+ * @param attribute The attribute to sort by.
+ * @returns The query string.
+ */
fun orderDesc(attribute: String) = Query("orderDesc", attribute).toJson()
+ /**
+ * Return results before documentId.
+ *
+ * @param documentId The document ID to use as cursor.
+ * @returns The query string.
+ */
fun cursorBefore(documentId: String) = Query("cursorBefore", null, listOf(documentId)).toJson()
+ /**
+ * Return results after documentId.
+ *
+ * @param documentId The document ID to use as cursor.
+ * @returns The query string.
+ */
fun cursorAfter(documentId: String) = Query("cursorAfter", null, listOf(documentId)).toJson()
-
+
+ /**
+ * Return only limit results.
+ *
+ * @param limit The number of results to return.
+ * @returns The query string.
+ */
fun limit(limit: Int) = Query("limit", null, listOf(limit)).toJson()
+ /**
+ * Filter resources by skipping the first offset results.
+ *
+ * @param offset The number of results to skip.
+ * @returns The query string.
+ */
fun offset(offset: Int) = Query("offset", null, listOf(offset)).toJson()
+ /**
+ * Filter resources where attribute contains the specified value.
+ *
+ * @param attribute The attribute to filter on.
+ * @param value The value to compare against.
+ * @returns The query string.
+ */
fun contains(attribute: String, value: Any) = Query("contains", attribute, parseValue(value)).toJson()
+ /**
+ * Combine multiple queries using logical OR operator.
+ *
+ * @param queries The list of query strings to combine.
+ * @returns The query string.
+ */
fun or(queries: List) = Query("or", null, queries.map { it.fromJson() }).toJson()
+ /**
+ * Combine multiple queries using logical AND operator.
+ *
+ * @param queries The list of query strings to combine.
+ * @returns The query string.
+ */
fun and(queries: List) = Query("and", null, queries.map { it.fromJson() }).toJson()
+ /**
+ * Parse the value to a list of values.
+ *
+ * @param value The value to parse.
+ * @returns The list of parsed values.
+ */
private fun parseValue(value: Any): List {
return when (value) {
is List<*> -> value as List
diff --git a/library/src/main/java/io/appwrite/Service.kt b/library/src/main/java/io/appwrite/Service.kt
index 8efdb9b..7a01b4b 100644
--- a/library/src/main/java/io/appwrite/Service.kt
+++ b/library/src/main/java/io/appwrite/Service.kt
@@ -2,4 +2,9 @@ package io.appwrite
import io.appwrite.Client
+/**
+ * Abstract class for services.
+ *
+ * @param client The Appwrite client.
+ */
abstract class Service(val client: Client)
diff --git a/library/src/main/java/io/appwrite/models/Execution.kt b/library/src/main/java/io/appwrite/models/Execution.kt
index 8252aa1..44724fa 100644
--- a/library/src/main/java/io/appwrite/models/Execution.kt
+++ b/library/src/main/java/io/appwrite/models/Execution.kt
@@ -103,6 +103,12 @@ data class Execution(
@SerializedName("duration")
val duration: Double,
+ /**
+ * The scheduled time for execution. If left empty, execution will be queued immediately.
+ */
+ @SerializedName("scheduledAt")
+ var scheduledAt: String?,
+
) {
fun toMap(): Map = mapOf(
"\$id" to id as Any,
@@ -121,6 +127,7 @@ data class Execution(
"logs" to logs as Any,
"errors" to errors as Any,
"duration" to duration as Any,
+ "scheduledAt" to scheduledAt as Any,
)
companion object {
@@ -145,6 +152,7 @@ data class Execution(
logs = map["logs"] as String,
errors = map["errors"] as String,
duration = (map["duration"] as Number).toDouble(),
+ scheduledAt = map["scheduledAt"] as? String?,
)
}
}
\ No newline at end of file
diff --git a/library/src/main/java/io/appwrite/services/Account.kt b/library/src/main/java/io/appwrite/services/Account.kt
index 95dd107..c3655ea 100644
--- a/library/src/main/java/io/appwrite/services/Account.kt
+++ b/library/src/main/java/io/appwrite/services/Account.kt
@@ -262,7 +262,7 @@ class Account(client: Client) : Service(client) {
*/
suspend fun createJWT(
): io.appwrite.models.Jwt {
- val apiPath = "/account/jwt"
+ val apiPath = "/account/jwts"
val apiParams = mutableMapOf(
)
@@ -370,7 +370,7 @@ class Account(client: Client) : Service(client) {
)
/**
- * Add Authenticator
+ * Create Authenticator
*
* Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](/docs/references/cloud/client-web/account#updateMfaAuthenticator) method.
*
@@ -406,7 +406,7 @@ class Account(client: Client) : Service(client) {
/**
* Verify Authenticator
*
- * Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method. add
+ * Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method.
*
* @param type Type of authenticator.
* @param otp Valid verification token.
@@ -443,7 +443,7 @@ class Account(client: Client) : Service(client) {
/**
* Verify Authenticator
*
- * Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method. add
+ * Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method.
*
* @param type Type of authenticator.
* @param otp Valid verification token.
@@ -465,18 +465,15 @@ class Account(client: Client) : Service(client) {
* Delete an authenticator for a user by ID.
*
* @param type Type of authenticator.
- * @param otp Valid verification token.
* @return [Any]
*/
suspend fun deleteMfaAuthenticator(
type: io.appwrite.enums.AuthenticatorType,
- otp: String,
): Any {
val apiPath = "/account/mfa/authenticators/{type}"
.replace("{type}", type.value)
val apiParams = mutableMapOf(
- "otp" to otp,
)
val apiHeaders = mutableMapOf(
"content-type" to "application/json",
@@ -492,7 +489,7 @@ class Account(client: Client) : Service(client) {
/**
- * Create 2FA Challenge
+ * Create MFA Challenge
*
* Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](/docs/references/cloud/client-web/account#updateMfaChallenge) method.
*
@@ -1869,7 +1866,7 @@ class Account(client: Client) : Service(client) {
/**
- * Create phone verification (confirmation)
+ * Update phone verification (confirmation)
*
* Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.
*
diff --git a/library/src/main/java/io/appwrite/services/Avatars.kt b/library/src/main/java/io/appwrite/services/Avatars.kt
index 2cb130d..9913edc 100644
--- a/library/src/main/java/io/appwrite/services/Avatars.kt
+++ b/library/src/main/java/io/appwrite/services/Avatars.kt
@@ -92,7 +92,7 @@ class Avatars(client: Client) : Service(client) {
/**
* Get favicon
*
- * Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.
+ * Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.This endpoint does not follow HTTP redirects.
*
* @param url Website URL which you want to fetch the favicon from.
* @return [ByteArray]
@@ -154,7 +154,7 @@ class Avatars(client: Client) : Service(client) {
/**
* Get image from URL
*
- * Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
+ * Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.This endpoint does not follow HTTP redirects.
*
* @param url Image URL which you want to crop.
* @param width Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.
diff --git a/library/src/main/java/io/appwrite/services/Functions.kt b/library/src/main/java/io/appwrite/services/Functions.kt
index c7a81ad..d31e853 100644
--- a/library/src/main/java/io/appwrite/services/Functions.kt
+++ b/library/src/main/java/io/appwrite/services/Functions.kt
@@ -21,7 +21,7 @@ class Functions(client: Client) : Service(client) {
* Get a list of all the current user function execution logs. You can use the query params to filter your results.
*
* @param functionId Function ID.
- * @param queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration
+ * @param queries Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId
* @param search Search term to filter your list results. Max length: 256 chars.
* @return [io.appwrite.models.ExecutionList]
*/
@@ -67,6 +67,7 @@ class Functions(client: Client) : Service(client) {
* @param path HTTP path of execution. Path can include query params. Default value is /
* @param method HTTP method of execution. Default value is GET.
* @param headers HTTP headers of execution. Defaults to empty.
+ * @param scheduledAt Scheduled execution time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.
* @return [io.appwrite.models.Execution]
*/
@JvmOverloads
@@ -77,6 +78,7 @@ class Functions(client: Client) : Service(client) {
path: String? = null,
method: io.appwrite.enums.ExecutionMethod? = null,
headers: Any? = null,
+ scheduledAt: String? = null,
): io.appwrite.models.Execution {
val apiPath = "/functions/{functionId}/executions"
.replace("{functionId}", functionId)
@@ -87,6 +89,7 @@ class Functions(client: Client) : Service(client) {
"path" to path,
"method" to method,
"headers" to headers,
+ "scheduledAt" to scheduledAt,
)
val apiHeaders = mutableMapOf(
"content-type" to "application/json",
diff --git a/library/src/main/java/io/appwrite/services/Storage.kt b/library/src/main/java/io/appwrite/services/Storage.kt
index 80dd45b..8f21473 100644
--- a/library/src/main/java/io/appwrite/services/Storage.kt
+++ b/library/src/main/java/io/appwrite/services/Storage.kt
@@ -65,7 +65,7 @@ class Storage(client: Client) : Service(client) {
*
* @param bucketId Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https://appwrite.io/docs/server/storage#createBucket).
* @param fileId File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
- * @param file Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https://appwrite.io/docs/storage#file-input).
+ * @param file Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https://appwrite.io/docs/products/storage/upload-download#input-file).
* @param permissions An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
* @return [io.appwrite.models.File]
*/
diff --git a/library/src/main/java/io/appwrite/services/Teams.kt b/library/src/main/java/io/appwrite/services/Teams.kt
index 304e60d..fd0ae92 100644
--- a/library/src/main/java/io/appwrite/services/Teams.kt
+++ b/library/src/main/java/io/appwrite/services/Teams.kt
@@ -323,7 +323,7 @@ class Teams(client: Client) : Service(client) {
* @param email Email of the new team member.
* @param userId ID of the user to be added to a team.
* @param phone Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
- * @param url URL to redirect the user back to your app from the invitation email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.
+ * @param url URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.
* @param name Name of the new team member. Max length: 128 chars.
* @return [io.appwrite.models.Membership]
*/