Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-anonymous-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-email-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-j-w-t.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-magic-u-r-l-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-mfa-authenticator.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticatorType;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-mfa-challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticationFactor;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-mfa-recovery-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-o-auth2token.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;
import io.appwrite.enums.OAuthProvider;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-phone-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-phone-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/delete-identity.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/delete-mfa-authenticator.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticatorType;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/delete-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/delete-sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/get-mfa-recovery-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/get-prefs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/get-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/list-identities.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/list-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/list-mfa-factors.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/list-sessions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-email.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-m-f-a.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-magic-u-r-l-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-mfa-authenticator.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Account;
import io.appwrite.enums.AuthenticatorType;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-mfa-challenge.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-mfa-recovery-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-password.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-phone-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID

Account account = new Account(client);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-phone-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-phone.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-prefs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/account/update-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Account;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/java/avatars/get-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars;
import io.appwrite.enums.Browser;

Client client = new Client()
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
.setSession(""); // The user session to authenticate with

Expand Down
Loading