diff --git a/src/routes/blog/post/appwrite-1.5-now-available-on-cloud/+page.markdoc b/src/routes/blog/post/appwrite-1.5-now-available-on-cloud/+page.markdoc index 988e599795..2688d59c68 100644 --- a/src/routes/blog/post/appwrite-1.5-now-available-on-cloud/+page.markdoc +++ b/src/routes/blog/post/appwrite-1.5-now-available-on-cloud/+page.markdoc @@ -37,7 +37,7 @@ Here is what this would look like using Swift. import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -66,7 +66,7 @@ You can send SMS messages using a Server SDK. To send SMS messages immediately, import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/blog/post/image-classification/+page.markdoc b/src/routes/blog/post/image-classification/+page.markdoc index 6607f20840..5cc2dc483c 100644 --- a/src/routes/blog/post/image-classification/+page.markdoc +++ b/src/routes/blog/post/image-classification/+page.markdoc @@ -194,7 +194,7 @@ def main(context): client = ( Client() - .set_endpoint("https://[region].cloud.appwrite.io/v1") + .set_endpoint("https://.cloud.appwrite.io/v1") .set_project(os.environ["APPWRITE_FUNCTION_PROJECT_ID"]) .set_key(os.environ["APPWRITE_API_KEY"]) ) diff --git a/src/routes/docs/advanced/platform/message-templates/+page.markdoc b/src/routes/docs/advanced/platform/message-templates/+page.markdoc index dc2179a2b5..4f5161da6e 100644 --- a/src/routes/docs/advanced/platform/message-templates/+page.markdoc +++ b/src/routes/docs/advanced/platform/message-templates/+page.markdoc @@ -172,7 +172,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setLocale('fr') // Your locale @@ -185,7 +185,7 @@ val response = account.createVerification('https://example.com') import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setLocale('fr') // Your locale diff --git a/src/routes/docs/apis/graphql/+page.markdoc b/src/routes/docs/apis/graphql/+page.markdoc index c71ed8050d..765477d3c4 100644 --- a/src/routes/docs/apis/graphql/+page.markdoc +++ b/src/routes/docs/apis/graphql/+page.markdoc @@ -307,7 +307,7 @@ mutation.then((response) { import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let graphql = Graphql(client) @@ -348,7 +348,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val graphql = Graphql(client) diff --git a/src/routes/docs/apis/realtime/+page.markdoc b/src/routes/docs/apis/realtime/+page.markdoc index 8eeefaae83..abc870a4df 100644 --- a/src/routes/docs/apis/realtime/+page.markdoc +++ b/src/routes/docs/apis/realtime/+page.markdoc @@ -52,7 +52,7 @@ import Appwrite import AppwriteModels let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let realtime = Realtime(client) @@ -71,7 +71,7 @@ import io.appwrite.Client import io.appwrite.services.Realtime val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val realtime = Realtime(client) @@ -148,7 +148,7 @@ import Appwrite import AppwriteModels let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let realtime = Realtime(client) @@ -164,7 +164,7 @@ import io.appwrite.Client import io.appwrite.services.Realtime val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val realtime = Realtime(client) @@ -219,7 +219,7 @@ import Appwrite import AppwriteModels let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let realtime = Realtime(client) @@ -235,7 +235,7 @@ import io.appwrite.Client import io.appwrite.services.Realtime val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val realtime = Realtime(client) @@ -308,7 +308,7 @@ import io.appwrite.Client import io.appwrite.services.Realtime val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val realtime = Realtime(client) diff --git a/src/routes/docs/products/auth/accounts/+page.markdoc b/src/routes/docs/products/auth/accounts/+page.markdoc index f381e1bcaf..21f0918f77 100644 --- a/src/routes/docs/products/auth/accounts/+page.markdoc +++ b/src/routes/docs/products/auth/accounts/+page.markdoc @@ -64,7 +64,7 @@ final user = await account.updatePrefs( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) @@ -81,7 +81,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) @@ -144,7 +144,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) @@ -155,7 +155,7 @@ val prefs = account.getPrefs() import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) diff --git a/src/routes/docs/products/auth/anonymous/+page.markdoc b/src/routes/docs/products/auth/anonymous/+page.markdoc index b3e31d2b25..b3169eaf48 100644 --- a/src/routes/docs/products/auth/anonymous/+page.markdoc +++ b/src/routes/docs/products/auth/anonymous/+page.markdoc @@ -45,7 +45,7 @@ final user = await account.createAnonymousSession(); import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) @@ -57,7 +57,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) diff --git a/src/routes/docs/products/auth/custom-token/+page.markdoc b/src/routes/docs/products/auth/custom-token/+page.markdoc index 166474eb3a..929fcd0986 100644 --- a/src/routes/docs/products/auth/custom-token/+page.markdoc +++ b/src/routes/docs/products/auth/custom-token/+page.markdoc @@ -109,7 +109,7 @@ import io.appwrite.Client import io.appwrite.Users val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your project API key @@ -123,7 +123,7 @@ val secret = token.secret import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your project API key @@ -137,7 +137,7 @@ let secret = token.secret using Appwrite; var client = new Client() - .SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey(""); // Your project API key @@ -195,7 +195,7 @@ final session = await account.createSession( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); let account = Account(client); @@ -211,7 +211,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); val account = Account(client); diff --git a/src/routes/docs/products/auth/email-otp/+page.markdoc b/src/routes/docs/products/auth/email-otp/+page.markdoc index 99f5a3bfd4..6b9f110f7d 100644 --- a/src/routes/docs/products/auth/email-otp/+page.markdoc +++ b/src/routes/docs/products/auth/email-otp/+page.markdoc @@ -63,7 +63,7 @@ final userId = sessionToken.userId; import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); let account = Account(client); @@ -82,7 +82,7 @@ import io.appwrite.services.Account import io.appwrite.ID val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); val account = Account(client); @@ -146,7 +146,7 @@ final session = await account.createSession( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); let account = Account(client); @@ -162,7 +162,7 @@ import io.appwrite.services.Account import io.appwrite.ID val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); val account = Account(client); diff --git a/src/routes/docs/products/auth/jwt/+page.markdoc b/src/routes/docs/products/auth/jwt/+page.markdoc index fa8783f685..377ba1c714 100644 --- a/src/routes/docs/products/auth/jwt/+page.markdoc +++ b/src/routes/docs/products/auth/jwt/+page.markdoc @@ -49,7 +49,7 @@ final jwt = await account.createJWT(); import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) @@ -61,7 +61,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) @@ -144,7 +144,7 @@ final client = Client() import io.appwrite.Client val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token ``` @@ -153,7 +153,7 @@ val client = Client() import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token ``` @@ -162,7 +162,7 @@ let client = Client() using Appwrite; var client = new Client() - .SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetJWT("eyJJ9.eyJ...886ca"); // Your secret JSON Web Token ``` @@ -295,7 +295,7 @@ final documents = await databases.listDocuments( import io.appwrite.Client val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token @@ -311,7 +311,7 @@ val documents = databases.listDocuments( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT("eyJJ9.eyJ...886ca") // Your secret JSON Web Token @@ -329,7 +329,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetJWT("eyJJ9.eyJ...886ca"); // Your secret JSON Web Token @@ -474,7 +474,7 @@ final documents = await databases.listDocuments( import io.appwrite.Client val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey('98fd4...a2ad2'); // Your secret API key @@ -490,7 +490,7 @@ val documents = databases.listDocuments( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey('98fd4...a2ad2'); // Your secret API key @@ -508,7 +508,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey('98fd4...a2ad2'); // Your secret API key diff --git a/src/routes/docs/products/auth/labels/+page.markdoc b/src/routes/docs/products/auth/labels/+page.markdoc index 51a9bb9526..52cd04f5f1 100644 --- a/src/routes/docs/products/auth/labels/+page.markdoc +++ b/src/routes/docs/products/auth/labels/+page.markdoc @@ -129,7 +129,7 @@ import io.appwrite.Role import io.appwrite.services.Users val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("98fd4...a2ad2") // Your secret API key @@ -145,7 +145,7 @@ val response = users.updateLabels( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("98fd4...a2ad2") // Your secret API key @@ -161,7 +161,7 @@ let response = try await users.updateLabels( using Appwrite; var client = new Client() - .SetEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("98fd4...a2ad2"); // Your secret API key diff --git a/src/routes/docs/products/auth/mfa/+page.markdoc b/src/routes/docs/products/auth/mfa/+page.markdoc index 8c631ab488..d0c3e34378 100644 --- a/src/routes/docs/products/auth/mfa/+page.markdoc +++ b/src/routes/docs/products/auth/mfa/+page.markdoc @@ -56,7 +56,7 @@ void main() { // Init SDK import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) @@ -68,7 +68,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) diff --git a/src/routes/docs/products/auth/oauth2/+page.markdoc b/src/routes/docs/products/auth/oauth2/+page.markdoc index f82efc0a7b..1ab962a039 100644 --- a/src/routes/docs/products/auth/oauth2/+page.markdoc +++ b/src/routes/docs/products/auth/oauth2/+page.markdoc @@ -105,7 +105,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) @@ -139,7 +139,7 @@ import io.appwrite.services.Account import io.appwrite.enums.OAuthProvider val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) @@ -201,7 +201,7 @@ print(session.providerAccessToken); import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) @@ -220,7 +220,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) @@ -285,7 +285,7 @@ final result = await account.updateSession( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) @@ -299,7 +299,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) diff --git a/src/routes/docs/products/auth/phone-sms/+page.markdoc b/src/routes/docs/products/auth/phone-sms/+page.markdoc index 208c98cc5b..56c271b679 100644 --- a/src/routes/docs/products/auth/phone-sms/+page.markdoc +++ b/src/routes/docs/products/auth/phone-sms/+page.markdoc @@ -53,7 +53,7 @@ final userId = token.userId; import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); let account = Account(client); @@ -72,7 +72,7 @@ import io.appwrite.services.Account import io.appwrite.ID val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); val account = Account(client); @@ -137,7 +137,7 @@ final session = await account.createSession( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); let account = Account(client); @@ -153,7 +153,7 @@ import io.appwrite.services.Account import io.appwrite.ID val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); val account = Account(client); diff --git a/src/routes/docs/products/auth/quick-start/+page.markdoc b/src/routes/docs/products/auth/quick-start/+page.markdoc index b0a59e32a4..ab6405dfc8 100644 --- a/src/routes/docs/products/auth/quick-start/+page.markdoc +++ b/src/routes/docs/products/auth/quick-start/+page.markdoc @@ -44,7 +44,7 @@ final user = await account.create( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let account = Account(client) @@ -61,7 +61,7 @@ import io.appwrite.services.Account import io.appwrite.ID val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val account = Account(client) @@ -501,7 +501,7 @@ class Appwrite { public init() { self.client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") self.account = Account(client) diff --git a/src/routes/docs/products/auth/teams/+page.markdoc b/src/routes/docs/products/auth/teams/+page.markdoc index 5645023dac..7686fa245e 100644 --- a/src/routes/docs/products/auth/teams/+page.markdoc +++ b/src/routes/docs/products/auth/teams/+page.markdoc @@ -69,7 +69,7 @@ void main() { // Init SDK import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let teams = Teams(client) @@ -85,7 +85,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val teams = Teams(client) @@ -157,7 +157,7 @@ void main() { // Init SDK import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let teams = Teams(client) @@ -173,7 +173,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val teams = Teams(client) diff --git a/src/routes/docs/products/databases/collections/+page.markdoc b/src/routes/docs/products/databases/collections/+page.markdoc index 3573cd6a66..b8a5ade3bd 100644 --- a/src/routes/docs/products/databases/collections/+page.markdoc +++ b/src/routes/docs/products/databases/collections/+page.markdoc @@ -123,7 +123,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -166,7 +166,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -184,7 +184,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -208,7 +208,7 @@ databases.createCollection( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/databases/databases/+page.markdoc b/src/routes/docs/products/databases/databases/+page.markdoc index 060f99e0fb..b65974a998 100644 --- a/src/routes/docs/products/databases/databases/+page.markdoc +++ b/src/routes/docs/products/databases/databases/+page.markdoc @@ -118,7 +118,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -159,7 +159,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -176,7 +176,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -199,7 +199,7 @@ databases.create( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/databases/documents/+page.markdoc b/src/routes/docs/products/databases/documents/+page.markdoc index f16e5fe609..9f6d01fc20 100644 --- a/src/routes/docs/products/databases/documents/+page.markdoc +++ b/src/routes/docs/products/databases/documents/+page.markdoc @@ -65,7 +65,7 @@ import AppwriteModels func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Databases(client) @@ -88,7 +88,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val databases = Databases(client) @@ -148,7 +148,7 @@ You can change this through [pagination](/docs/products/databases/pagination). import { Client, Databases, Query } from "appwrite"; const client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") const databases = new Databases(client); @@ -172,7 +172,7 @@ import 'package:appwrite/appwrite.dart'; void main() async { final client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") final databases = Databases(client); @@ -196,7 +196,7 @@ import AppwriteModels func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Databases(client) @@ -221,7 +221,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val databases = Databases(client) diff --git a/src/routes/docs/products/databases/pagination/+page.markdoc b/src/routes/docs/products/databases/pagination/+page.markdoc index 7dc020b8b6..aa854b1b26 100644 --- a/src/routes/docs/products/databases/pagination/+page.markdoc +++ b/src/routes/docs/products/databases/pagination/+page.markdoc @@ -84,7 +84,7 @@ import AppwriteModels func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Databases(client) @@ -115,7 +115,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val databases = Databases(client) @@ -160,7 +160,7 @@ Pass the first document's ID into the `Query.cursorBefore(firstId)` query method import { Databases, Query } from "appwrite"; const client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); const databases = new Databases(client); @@ -224,7 +224,7 @@ import AppwriteModels func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Databases(client) @@ -258,7 +258,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val databases = Databases(client) diff --git a/src/routes/docs/products/databases/queries/+page.markdoc b/src/routes/docs/products/databases/queries/+page.markdoc index 8801510009..56c282a4ba 100644 --- a/src/routes/docs/products/databases/queries/+page.markdoc +++ b/src/routes/docs/products/databases/queries/+page.markdoc @@ -354,7 +354,7 @@ import AppwriteModels func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Databases(client) diff --git a/src/routes/docs/products/databases/quick-start/+page.markdoc b/src/routes/docs/products/databases/quick-start/+page.markdoc index 1283e6dffc..f556531569 100644 --- a/src/routes/docs/products/databases/quick-start/+page.markdoc +++ b/src/routes/docs/products/databases/quick-start/+page.markdoc @@ -79,7 +79,7 @@ import AppwriteModels func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Databases(client) @@ -102,7 +102,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val databases = Databases(client) @@ -146,7 +146,7 @@ Like the previous step, replace ``, ``, and`.cloud.appwrite.io/v1") .setProject("") const databases = new Databases(client); @@ -170,7 +170,7 @@ import 'package:appwrite/appwrite.dart'; void main() async { final client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") final databases = Databases(client); @@ -194,7 +194,7 @@ import AppwriteModels func main() async throws{ let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Databases(client) @@ -219,7 +219,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val databases = Databases(client) diff --git a/src/routes/docs/products/databases/relationships/+page.markdoc b/src/routes/docs/products/databases/relationships/+page.markdoc index b7adf40e7a..e3d2f6abb5 100644 --- a/src/routes/docs/products/databases/relationships/+page.markdoc +++ b/src/routes/docs/products/databases/relationships/+page.markdoc @@ -179,7 +179,7 @@ databases.create_relationship_attribute( import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID const databases = new Databases(client); @@ -224,7 +224,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val databases = Databases(client) @@ -246,7 +246,7 @@ databases.createRelationshipAttribute( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let databases = Databases(client) @@ -271,7 +271,7 @@ using Appwrite; using Appwrite.Services; var client = new Client() - .SetEndpoint("https://[region].cloud.appwrite.io/v1") + .SetEndpoint("https://.cloud.appwrite.io/v1") .SetProject(""); var databases = new Databases(client); @@ -351,7 +351,7 @@ await databases.createDocument( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let databases = Database(client: client) @@ -377,7 +377,7 @@ import io.appwrite.services.Database import io.appwrite.ID val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val databases = Database(client) @@ -460,7 +460,7 @@ await databases.createDocument( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let databases = Database(client: client) @@ -486,7 +486,7 @@ import io.appwrite.services.Database import io.appwrite.ID val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val databases = Database(client) @@ -568,7 +568,7 @@ await databases.updateDocument( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Database(client: client) @@ -593,7 +593,7 @@ import io.appwrite.Client import io.appwrite.services.Database val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val databases = Database(client) @@ -671,7 +671,7 @@ await databases.deleteDocument( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Database(client: client) @@ -688,7 +688,7 @@ import io.appwrite.Client import io.appwrite.services.Database val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") val databases = Database(client) @@ -771,7 +771,7 @@ await databases.createDocument( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Database(client: client) @@ -799,7 +799,7 @@ databases.createDocument( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let databases = Database(client: client) diff --git a/src/routes/docs/products/messaging/apns/+page.markdoc b/src/routes/docs/products/messaging/apns/+page.markdoc index ab2c68ea46..9fcd9a8069 100644 --- a/src/routes/docs/products/messaging/apns/+page.markdoc +++ b/src/routes/docs/products/messaging/apns/+page.markdoc @@ -229,7 +229,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -283,7 +283,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -313,7 +313,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -341,7 +341,7 @@ messaging.updateApnsProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/fcm/+page.markdoc b/src/routes/docs/products/messaging/fcm/+page.markdoc index b6d0e03d1c..b0482dc77a 100644 --- a/src/routes/docs/products/messaging/fcm/+page.markdoc +++ b/src/routes/docs/products/messaging/fcm/+page.markdoc @@ -211,7 +211,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -259,7 +259,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -286,7 +286,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -311,7 +311,7 @@ messaging.updateFCMProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/mailgun/+page.markdoc b/src/routes/docs/products/messaging/mailgun/+page.markdoc index 00c05b9ae0..4b7761db0d 100644 --- a/src/routes/docs/products/messaging/mailgun/+page.markdoc +++ b/src/routes/docs/products/messaging/mailgun/+page.markdoc @@ -175,7 +175,7 @@ using Appwrite.Enums; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey(""); // Your secret API key @@ -221,7 +221,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key @@ -239,7 +239,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key @@ -263,7 +263,7 @@ messaging.createEmail( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key @@ -457,7 +457,7 @@ using Appwrite.Models; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey(""); // Your secret API key @@ -518,7 +518,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key @@ -544,7 +544,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key @@ -575,7 +575,7 @@ messaging.updateSendgridProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key diff --git a/src/routes/docs/products/messaging/messages/+page.markdoc b/src/routes/docs/products/messaging/messages/+page.markdoc index e3a59a58bb..f5428ed22f 100644 --- a/src/routes/docs/products/messaging/messages/+page.markdoc +++ b/src/routes/docs/products/messaging/messages/+page.markdoc @@ -391,7 +391,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -461,7 +461,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -499,7 +499,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -535,7 +535,7 @@ messaging.createPush( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -716,7 +716,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -778,7 +778,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -812,7 +812,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -844,7 +844,7 @@ messaging.createEmail( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -1001,7 +1001,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -1055,7 +1055,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -1085,7 +1085,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -1113,7 +1113,7 @@ messaging.createSms( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/msg91/+page.markdoc b/src/routes/docs/products/messaging/msg91/+page.markdoc index 9f8ee97c29..fd805db788 100644 --- a/src/routes/docs/products/messaging/msg91/+page.markdoc +++ b/src/routes/docs/products/messaging/msg91/+page.markdoc @@ -194,7 +194,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -248,7 +248,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -278,7 +278,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -306,7 +306,7 @@ messaging.createSms( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -465,7 +465,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -517,7 +517,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -546,7 +546,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -573,7 +573,7 @@ messaging.updateMsg91Provider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/send-email-messages/+page.markdoc b/src/routes/docs/products/messaging/send-email-messages/+page.markdoc index 828a478a16..9910f3df77 100644 --- a/src/routes/docs/products/messaging/send-email-messages/+page.markdoc +++ b/src/routes/docs/products/messaging/send-email-messages/+page.markdoc @@ -153,7 +153,7 @@ using Appwrite.Models; using Appwrite.Enums; Client client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -197,7 +197,7 @@ import io.appwrite.services.Users import io.appwrite.enums.MessagingProviderType val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -220,7 +220,7 @@ import io.appwrite.services.Users; import io.appwrite.enums.MessagingProviderType; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -248,7 +248,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -381,7 +381,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -425,7 +425,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -450,7 +450,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -473,7 +473,7 @@ messaging.createTopic( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -638,7 +638,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -700,7 +700,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -734,7 +734,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -766,7 +766,7 @@ messaging.createEmail( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -940,7 +940,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2");// Your secret API key @@ -1002,7 +1002,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -1036,7 +1036,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2");// Your secret API key @@ -1068,7 +1068,7 @@ messaging.createEmail( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/send-push-notifications/+page.markdoc b/src/routes/docs/products/messaging/send-push-notifications/+page.markdoc index 39268b588a..9f0a6c2771 100644 --- a/src/routes/docs/products/messaging/send-push-notifications/+page.markdoc +++ b/src/routes/docs/products/messaging/send-push-notifications/+page.markdoc @@ -632,7 +632,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -701,7 +701,7 @@ import io.appwrite.Client import io.appwrite.services.Messaging val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -731,7 +731,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -767,7 +767,7 @@ messaging.createPush( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/send-sms-messages/+page.markdoc b/src/routes/docs/products/messaging/send-sms-messages/+page.markdoc index 2b2334d174..c08537b321 100644 --- a/src/routes/docs/products/messaging/send-sms-messages/+page.markdoc +++ b/src/routes/docs/products/messaging/send-sms-messages/+page.markdoc @@ -162,7 +162,7 @@ using Appwrite.Models; using Appwrite.Enums; Client client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -206,7 +206,7 @@ import io.appwrite.services.Users import io.appwrite.enums.MessagingProviderType val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -229,7 +229,7 @@ import io.appwrite.services.Users; import io.appwrite.enums.MessagingProviderType; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -257,7 +257,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -375,7 +375,7 @@ using Appwrite.Services; using Appwrite.Models; Client client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -408,7 +408,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; val client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -425,7 +425,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -448,7 +448,7 @@ messaging.createTopic( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -581,7 +581,7 @@ using Appwrite.Services; using Appwrite.Models; Client client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -624,7 +624,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -646,7 +646,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -674,7 +674,7 @@ messaging.createSms( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -810,7 +810,7 @@ using Appwrite.Services; using Appwrite.Models; Client client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -853,7 +853,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -875,7 +875,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -903,7 +903,7 @@ messaging.createSms( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/sendgrid/+page.markdoc b/src/routes/docs/products/messaging/sendgrid/+page.markdoc index 2b3a150ec2..5f594a5a38 100644 --- a/src/routes/docs/products/messaging/sendgrid/+page.markdoc +++ b/src/routes/docs/products/messaging/sendgrid/+page.markdoc @@ -168,7 +168,7 @@ using Appwrite.Enums; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey(""); // Your secret API key @@ -214,7 +214,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key @@ -232,7 +232,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key @@ -256,7 +256,7 @@ messaging.createEmail( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key @@ -420,7 +420,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey(""); // Your secret API key @@ -476,7 +476,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key @@ -507,7 +507,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key @@ -536,7 +536,7 @@ messaging.updateSendgridProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key diff --git a/src/routes/docs/products/messaging/smtp/+page.markdoc b/src/routes/docs/products/messaging/smtp/+page.markdoc index 45a17231bc..38b7bc80f7 100644 --- a/src/routes/docs/products/messaging/smtp/+page.markdoc +++ b/src/routes/docs/products/messaging/smtp/+page.markdoc @@ -177,7 +177,7 @@ using Appwrite.Enums; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey(""); // Your secret API key @@ -223,7 +223,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key @@ -241,7 +241,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key @@ -265,7 +265,7 @@ messaging.createEmail( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key @@ -459,7 +459,7 @@ using Appwrite.Models; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey(""); // Your secret API key @@ -520,7 +520,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key @@ -546,7 +546,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key @@ -577,7 +577,7 @@ messaging.updateSendgridProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key diff --git a/src/routes/docs/products/messaging/telesign/+page.markdoc b/src/routes/docs/products/messaging/telesign/+page.markdoc index 723c9f93e3..2465613d5e 100644 --- a/src/routes/docs/products/messaging/telesign/+page.markdoc +++ b/src/routes/docs/products/messaging/telesign/+page.markdoc @@ -193,7 +193,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -247,7 +247,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -277,7 +277,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -305,7 +305,7 @@ messaging.createSms( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -463,7 +463,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -515,7 +515,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -544,7 +544,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -571,7 +571,7 @@ messaging.updateTelesignProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/textmagic/+page.markdoc b/src/routes/docs/products/messaging/textmagic/+page.markdoc index 4b50db7636..e94202b2ab 100644 --- a/src/routes/docs/products/messaging/textmagic/+page.markdoc +++ b/src/routes/docs/products/messaging/textmagic/+page.markdoc @@ -193,7 +193,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -247,7 +247,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -277,7 +277,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -305,7 +305,7 @@ messaging.createSms( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -463,7 +463,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -515,7 +515,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -544,7 +544,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -571,7 +571,7 @@ messaging.updateTextmagicProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/topics/+page.markdoc b/src/routes/docs/products/messaging/topics/+page.markdoc index 827d509931..c1cacaf4ce 100644 --- a/src/routes/docs/products/messaging/topics/+page.markdoc +++ b/src/routes/docs/products/messaging/topics/+page.markdoc @@ -154,7 +154,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -200,7 +200,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -226,7 +226,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -250,7 +250,7 @@ messaging.createTopic( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -409,7 +409,7 @@ using Appwrite.Services; using Appwrite.Models; Client client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetJWT("eyJhbVCJ9.eyJ..."); // Your secret JSON Web Token @@ -444,7 +444,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT("eyJhbVCJ9.eyJ...") // Your secret JSON Web Token @@ -462,7 +462,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT("eyJhbVCJ9.eyJ..."); // Your secret JSON Web Token @@ -486,7 +486,7 @@ messaging.createSubscriber( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT("eyJhbVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/src/routes/docs/products/messaging/twilio/+page.markdoc b/src/routes/docs/products/messaging/twilio/+page.markdoc index 5ecd69b888..6cd003e713 100644 --- a/src/routes/docs/products/messaging/twilio/+page.markdoc +++ b/src/routes/docs/products/messaging/twilio/+page.markdoc @@ -195,7 +195,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -249,7 +249,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -279,7 +279,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -307,7 +307,7 @@ messaging.createSms( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -463,7 +463,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -515,7 +515,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -544,7 +544,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -571,7 +571,7 @@ messaging.updateTwilioProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/messaging/vonage/+page.markdoc b/src/routes/docs/products/messaging/vonage/+page.markdoc index 5ce7cfb378..76d8e38d55 100644 --- a/src/routes/docs/products/messaging/vonage/+page.markdoc +++ b/src/routes/docs/products/messaging/vonage/+page.markdoc @@ -195,7 +195,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -249,7 +249,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -279,7 +279,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -307,7 +307,7 @@ messaging.createSms( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -465,7 +465,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -517,7 +517,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -546,7 +546,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -573,7 +573,7 @@ messaging.updateVonageProvider( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/storage/buckets/+page.markdoc b/src/routes/docs/products/storage/buckets/+page.markdoc index 96313fa387..ef5e465e19 100644 --- a/src/routes/docs/products/storage/buckets/+page.markdoc +++ b/src/routes/docs/products/storage/buckets/+page.markdoc @@ -128,7 +128,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -169,7 +169,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key @@ -186,7 +186,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key @@ -209,7 +209,7 @@ storage.createBucket( import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/src/routes/docs/products/storage/images/+page.markdoc b/src/routes/docs/products/storage/images/+page.markdoc index dc975e6d86..7dede9ff8a 100644 --- a/src/routes/docs/products/storage/images/+page.markdoc +++ b/src/routes/docs/products/storage/images/+page.markdoc @@ -123,7 +123,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFilePreview( @@ -159,7 +159,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val storage = Storage(client) diff --git a/src/routes/docs/products/storage/quick-start/+page.markdoc b/src/routes/docs/products/storage/quick-start/+page.markdoc index 80db11d456..819921108d 100644 --- a/src/routes/docs/products/storage/quick-start/+page.markdoc +++ b/src/routes/docs/products/storage/quick-start/+page.markdoc @@ -63,7 +63,7 @@ To upload a file, add this to you web, Flutter, Apple, or Android app. func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let storage = Storage(client) @@ -84,7 +84,7 @@ To upload a file, add this to you web, Flutter, Apple, or Android app. suspend fun main() { val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val storage = Storage(client) @@ -186,7 +186,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFileDownload( @@ -211,7 +211,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val storage = Storage(client) diff --git a/src/routes/docs/products/storage/upload-download/+page.markdoc b/src/routes/docs/products/storage/upload-download/+page.markdoc index 791e187788..3d46958d83 100644 --- a/src/routes/docs/products/storage/upload-download/+page.markdoc +++ b/src/routes/docs/products/storage/upload-download/+page.markdoc @@ -61,7 +61,7 @@ You can also upload files programmatically using our SDKs: suspend fun main() { val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val storage = Storage(client) @@ -79,7 +79,7 @@ You can also upload files programmatically using our SDKs: func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") let storage = Storage(client) @@ -340,7 +340,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFile( @@ -365,7 +365,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val storage = Storage(client) @@ -443,7 +443,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFileDownload( @@ -468,7 +468,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val storage = Storage(client) @@ -546,7 +546,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFilePreview( @@ -571,7 +571,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val storage = Storage(client) @@ -650,7 +650,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFileView( @@ -675,7 +675,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID val storage = Storage(client) diff --git a/src/routes/docs/quick-starts/android/+page.markdoc b/src/routes/docs/quick-starts/android/+page.markdoc index d764e5f9a2..ca1c0c0ef7 100644 --- a/src/routes/docs/quick-starts/android/+page.markdoc +++ b/src/routes/docs/quick-starts/android/+page.markdoc @@ -102,7 +102,7 @@ object Appwrite { fun init(context: Context) { client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("[PROJECT_ID]") account = Account(client) diff --git a/src/routes/docs/quick-starts/apple/+page.markdoc b/src/routes/docs/quick-starts/apple/+page.markdoc index 0f92589439..efb7fdb890 100644 --- a/src/routes/docs/quick-starts/apple/+page.markdoc +++ b/src/routes/docs/quick-starts/apple/+page.markdoc @@ -110,7 +110,7 @@ class Appwrite { public init() { self.client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("[PROJECT_ID]") self.account = Account(client) diff --git a/src/routes/docs/quick-starts/dart/+page.markdoc b/src/routes/docs/quick-starts/dart/+page.markdoc index f6129f20e4..dbfc3fe64f 100644 --- a/src/routes/docs/quick-starts/dart/+page.markdoc +++ b/src/routes/docs/quick-starts/dart/+page.markdoc @@ -78,7 +78,7 @@ var client = Client(); Future main() async { client - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") .setKey(""); } @@ -200,7 +200,7 @@ Finally, revisit the `main()` function and call the functions created in previou ```dart Future main() async { client - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") .setKey(""); diff --git a/src/routes/docs/quick-starts/deno/+page.markdoc b/src/routes/docs/quick-starts/deno/+page.markdoc index abc0f8f997..df89a95c1a 100644 --- a/src/routes/docs/quick-starts/deno/+page.markdoc +++ b/src/routes/docs/quick-starts/deno/+page.markdoc @@ -81,7 +81,7 @@ import { Client, ID, Databases, Models } from "https://deno.land/x/appwrite/mod. const client: Client = new Client(); client - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") .setKey(""); ``` diff --git a/src/routes/docs/quick-starts/dotnet/+page.markdoc b/src/routes/docs/quick-starts/dotnet/+page.markdoc index 8597541314..8d61182db8 100644 --- a/src/routes/docs/quick-starts/dotnet/+page.markdoc +++ b/src/routes/docs/quick-starts/dotnet/+page.markdoc @@ -83,7 +83,7 @@ using Appwrite.Services; var client = new Client(); client - .SetEndpoint("https://[region].cloud.appwrite.io/v1") + .SetEndpoint("https://.cloud.appwrite.io/v1") .SetProject("") .SetKey(""); ``` diff --git a/src/routes/docs/quick-starts/flutter/+page.markdoc b/src/routes/docs/quick-starts/flutter/+page.markdoc index 8dbfc958e1..2e3d8c6110 100644 --- a/src/routes/docs/quick-starts/flutter/+page.markdoc +++ b/src/routes/docs/quick-starts/flutter/+page.markdoc @@ -183,7 +183,7 @@ import 'package:appwrite/models.dart' as models; void main() { WidgetsFlutterBinding.ensureInitialized(); Client client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); Account account = Account(client); diff --git a/src/routes/docs/quick-starts/kotlin/+page.markdoc b/src/routes/docs/quick-starts/kotlin/+page.markdoc index 605cd2e18b..195b7fc234 100644 --- a/src/routes/docs/quick-starts/kotlin/+page.markdoc +++ b/src/routes/docs/quick-starts/kotlin/+page.markdoc @@ -91,7 +91,7 @@ import io.appwrite.models.Collection import kotlinx.coroutines.coroutineScope val client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") .setKey(""); ``` diff --git a/src/routes/docs/quick-starts/node/+page.markdoc b/src/routes/docs/quick-starts/node/+page.markdoc index ec11a2832d..c50d4ee0a0 100644 --- a/src/routes/docs/quick-starts/node/+page.markdoc +++ b/src/routes/docs/quick-starts/node/+page.markdoc @@ -76,7 +76,7 @@ const sdk = require("node-appwrite"); const client = new sdk.Client(); client - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") .setKey(""); ``` diff --git a/src/routes/docs/quick-starts/swift/+page.markdoc b/src/routes/docs/quick-starts/swift/+page.markdoc index e24d95d34d..42728715b2 100644 --- a/src/routes/docs/quick-starts/swift/+page.markdoc +++ b/src/routes/docs/quick-starts/swift/+page.markdoc @@ -85,7 +85,7 @@ import Appwrite import AppwriteModels let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") .setKey("") ``` diff --git a/src/routes/docs/references/quick-start/+page.markdoc b/src/routes/docs/references/quick-start/+page.markdoc index de7d44ad68..4ce20ae2d3 100644 --- a/src/routes/docs/references/quick-start/+page.markdoc +++ b/src/routes/docs/references/quick-start/+page.markdoc @@ -114,14 +114,14 @@ client import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID ``` ```client-android-kotlin import io.appwrite.Client val client = Client(context) - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID ``` {% /multicode %} @@ -195,7 +195,7 @@ using Appwrite; using Appwrite.Services; var client = new Client() - .SetEndPoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("") // Your project ID .SetJWT(""); // Your secret JSON Web Token ``` @@ -217,7 +217,7 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT(""); // Your secret JSON Web Token ``` @@ -226,7 +226,7 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; Client client = new Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT(""); // Your secret JSON Web Token ``` @@ -234,7 +234,7 @@ Client client = new Client() import Appwrite let client = Client() - .setEndpoint("https://[region].cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setJWT("") // Your secret JSON Web Token ``` diff --git a/src/routes/docs/tutorials/react-native/step-3/+page.markdoc b/src/routes/docs/tutorials/react-native/step-3/+page.markdoc index a1692aa6bc..48ca5f3d19 100644 --- a/src/routes/docs/tutorials/react-native/step-3/+page.markdoc +++ b/src/routes/docs/tutorials/react-native/step-3/+page.markdoc @@ -50,7 +50,7 @@ import { Client, Databases, Account } from "react-native-appwrite"; const client = new Client(); client - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject("") // Replace with your project ID .setPlatform('com.example.idea-tracker'); diff --git a/src/routes/docs/tutorials/react/step-3/+page.markdoc b/src/routes/docs/tutorials/react/step-3/+page.markdoc index 6aa8354a92..00fcc732d6 100644 --- a/src/routes/docs/tutorials/react/step-3/+page.markdoc +++ b/src/routes/docs/tutorials/react/step-3/+page.markdoc @@ -49,7 +49,7 @@ import { Client, Databases, Account } from "appwrite"; const client = new Client(); client - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); // Replace with your project ID export const account = new Account(client); diff --git a/src/routes/docs/tutorials/sveltekit/step-3/+page.markdoc b/src/routes/docs/tutorials/sveltekit/step-3/+page.markdoc index 9879a8ccbd..82298dd9a4 100644 --- a/src/routes/docs/tutorials/sveltekit/step-3/+page.markdoc +++ b/src/routes/docs/tutorials/sveltekit/step-3/+page.markdoc @@ -48,7 +48,7 @@ import { Client, Databases, Account } from "appwrite"; const client = new Client(); client - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); // Replace with your project ID export const account = new Account(client); diff --git a/src/routes/docs/tutorials/vue/step-3/+page.markdoc b/src/routes/docs/tutorials/vue/step-3/+page.markdoc index 3f455e47c9..f4d20a8d4f 100644 --- a/src/routes/docs/tutorials/vue/step-3/+page.markdoc +++ b/src/routes/docs/tutorials/vue/step-3/+page.markdoc @@ -48,7 +48,7 @@ import { Client, Databases, Account } from "appwrite"; const client = new Client(); client - .setEndpoint("https://[region].cloud.appwrite.io/v1") + .setEndpoint("https://.cloud.appwrite.io/v1") .setProject(""); // Replace with your project ID export const account = new Account(client);